This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/owntracks/frontend/deployment.yaml

38 lines
770 B
YAML
Raw Normal View History

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