apiVersion: apps/v1
kind: Deployment
metadata:
  name: main-dep
spec:
  replicas: 1
  selector:
    matchLabels:
      app: main-app
  template:
    metadata:
      labels:
        app: main-app
    spec:
      containers:
        - name: main-container
          image: robsondepaula/main-app:2_01
          env:
          - name: SVC_BASE_URL
            value: "http://localhost"
          - name: SVC_PORT
            value: "3000"
          - name: APP_PORT
            value: "3001"
        - name: pingpong-container
          image: robsondepaula/pingpong:2_01