apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
namespace: owntracks
labels:
app: frontend
spec:
selector:
matchLabels:
strategy:
type: RollingUpdate
template:
containers:
- env:
- name: SERVER_HOST
value: owntracks
- name: SERVER_PORT
value: "8083"
image: docker.io/owntracks/frontend:v2.3.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
protocol: TCP
volumeMounts:
- mountPath: /usr/share/nginx/html/config
name: config
volumes:
- name: config
configMap: