Skip to content

admin/dorfarchiv

PublicMirror

Mirror of https://forge.levinkeller.de/levin/dorfarchiv.git

45 lines · 1.1 KB
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: dorfarchiv
5 namespace: dorfarchiv
6 labels:
7 app: dorfarchiv
8spec:
9 replicas: 1
10 selector:
11 matchLabels:
12 app: dorfarchiv
13 template:
14 metadata:
15 labels:
16 app: dorfarchiv
17 spec:
18 # Eigener User-Namespace: root im Container ist auf dem Host kein root.
19 hostUsers: false
20 containers:
21 - name: web
22 # Image-Referenz wird von kustomize (images:) verwaltet — bare ref.
23 # Öffentliche Seite: nginx lauscht direkt auf 8080 (kein oauth2-proxy).
24 image: ghcr.io/dorfpflege-roessing/dorfarchiv
25 ports:
26 - containerPort: 8080
27 name: http
28 readinessProbe:
29 httpGet:
30 path: /
31 port: 8080
32 initialDelaySeconds: 3
33 periodSeconds: 10
34 livenessProbe:
35 httpGet:
36 path: /
37 port: 8080
38 initialDelaySeconds: 5
39 periodSeconds: 20
40 resources:
41 requests:
42 cpu: 10m
43 memory: 24Mi
44 limits:
45 memory: 64Mi