apiVersion: apps/v1 kind: Deployment metadata: name: Curio-app spec: replicas: 2 selector: matchLabels: app: Curio-app template: metadata: labels: app: Curio-app spec: containers: - name: Curio image: 192.168.8.250:5000/curio:latest ports: - containerPort: 3000 env: - name: DATABASE_URL value: "postgres://postgres:Curio_secret@Curio-db:5432/Curio" --- apiVersion: v1 kind: Service metadata: name: Curio-app spec: selector: app: Curio-app ports: - port: 80 targetPort: 3000