apiVersion: apps/v1
kind: Deployment
metadata:
  name: payment-deployment
  labels:
    app: payment
spec:
  selector:
    matchLabels:
      app: payment
  template:
    metadata:
      labels:
        app: payment
    spec:
      containers:
        - name: payment
          image: flaviogf/intensivao-microservicos-payment
          env:
            - name: AMQP_URL
              value: "amqp://rabbitmq:rabbitmq@rabbitmq-service:5672"
