blob: b0f11d9e2051f990d493180cff1b0c9d6d88efc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: opodsync
namespace: services
spec:
replicas: 1
selector:
matchLabels:
app: opodsync
template:
metadata:
labels:
app: opodsync
spec:
containers:
- name: opodsync
image: ganeshlab/opodsync
env:
- name: GPODDER_BASE_URL
value: "https://gpodder.f3s.buetow.org/gpodder"
- name: GPODDER_ALLOW_REGISTRATIONS
value: "true"
ports:
- containerPort: 8080
volumeMounts:
- name: opodsync-data
mountPath: /var/www/server/data
- name: nginx-proxy
image: nginx:1.25-alpine
ports:
- containerPort: 8081
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
volumes:
- name: opodsync-data
persistentVolumeClaim:
claimName: opodsync-data-pvc
- name: nginx-config
configMap:
name: opodsync-nginx-config
|