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/01-deployment-frontend.yaml
Renovate Bot 1a4a4b71fa
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Update docker.io/owntracks/frontend Docker tag to v2.3.1
2020-05-09 16:00:29 +00:00

38 lines
770 B
YAML

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
imagePullPolicy: IfNotPresent
name: frontend
ports:
- containerPort: 80
protocol: TCP
volumeMounts:
- mountPath: /usr/share/nginx/html/config
name: config
volumes:
- name: config
configMap:
name: frontend