apiVersion: apps/v1 kind: Deployment metadata: name: web namespace: playmat spec: replicas: 1 selector: matchLabels: app: web template: metadata: labels: app: web spec: enableServiceLinks: false securityContext: seccompProfile: type: RuntimeDefault containers: - name: web image: ghcr.io/arcanite24/playmat-web:master imagePullPolicy: Always ports: - name: http containerPort: 80 env: - name: DOMAIN value: mtg.aleshym.co - name: TLS_MODE value: external - name: UPSTREAM_PROXIES value: 10.42.0.0/16 - name: XMAGE_GATEWAY value: "off" - name: XMAGE_ALLOWED_ORIGINS value: https://mtg.aleshym.co,https://playmat.aleshym.co - name: XMAGE_PUBLIC_URL value: https://mtg.aleshym.co - name: CADDY_IP value: 127.0.0.1 readinessProbe: httpGet: path: / port: http initialDelaySeconds: 10 periodSeconds: 10 livenessProbe: httpGet: path: / port: http initialDelaySeconds: 30 periodSeconds: 30 resources: requests: cpu: 100m memory: 128Mi limits: cpu: 500m memory: 256Mi