apiVersion: apps/v1
kind: Deployment
metadata:
  name: angularandspring
  labels:
    app: angularandspring
spec:
  replicas: 1
  selector:
    matchLabels:
      app: angularandspring
  template:
    metadata:
      labels:
        app: angularandspring
    spec:
      containers:
      - name: angularandspring
        image: gcr.io/cloud-eval-283323/angularandspring  
        imagePullPolicy: Always
        env:
        - name: MONGODB_HOST
          value: mongodb
        ports:
        - containerPort: 8080
 
