apiVersion: apps/v1
kind: Deployment
metadata:
  name: account-graph-deployment
  namespace: microservices-namespace
  labels:
    app: account-graph-deployment
    moduleid: microservice-account-graph-service
    version: 1.70.4-master
spec:
  replicas: 2
  selector:
    matchLabels:
      app: account-graph-deployment
  template:
    metadata:
      labels:
        app: account-graph-deployment
    spec:
      containers:
        -
          name: app
          image: 'repoflow/microservice-account-graph-container:1.70.3-master'
          env:
            -
              name: ACCOUNT_ROUTE_GRAPH
              value: /graphql
            -
              name: ACCOUNT_INTERNAL_PORT_GRAPH
              value: '4000'
            -
              name: AUTH_DATA_INTERNAL_URL
              value: 'auth-data-service.microservices-namespace:27017/auth'
          ports:
            -
              containerPort: 4000
