# This Deployment manifest defines:
# - single-replica deployment of the container image, with label "app: campwiz"
# - Pod exposes port 8080
# - specify PORT environment variable to the container process
# Syntax reference https://kubernetes.io/docs/concepts/configuration/overview/
apiVersion: apps/v1
kind: Deployment
metadata:
  name: campwiz
spec:
  replicas: 1
  selector:
    matchLabels:
      app: campwiz
  template:
    metadata:
      labels:
        app: campwiz
    spec:
      containers:
      - name: server
        image: campwiz
        ports:
        - containerPort: 8080
        env:
        - name: PORT
          value: "8080"
