Standardize config.

This commit is contained in:
2026-05-23 19:51:33 +00:00
parent e2e3f730a5
commit 6b5325c6f3
87 changed files with 426 additions and 531 deletions

View File

@@ -4,7 +4,7 @@ metadata:
name: lemmy-backend
namespace: {{ .namespace }}
spec:
replicas: {{ .backendReplicas }}
replicas: 1
selector:
matchLabels:
component: backend
@@ -65,7 +65,7 @@ spec:
mountPath: /config
containers:
- name: backend
image: {{ .backendImage }}
image: dessalines/lemmy:0.19.15
securityContext:
allowPrivilegeEscalation: false
capabilities:
@@ -75,9 +75,9 @@ spec:
- name: LEMMY_CONFIG_LOCATION
value: /config/lemmy.hjson
- name: TZ
value: "{{ .timezone }}"
value: "UTC"
ports:
- containerPort: {{ .backendPort }}
- containerPort: 8536
name: http
volumeMounts:
- name: config
@@ -85,13 +85,13 @@ spec:
livenessProbe:
httpGet:
path: /api/v3/site
port: {{ .backendPort }}
port: 8536
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /api/v3/site
port: {{ .backendPort }}
port: 8536
initialDelaySeconds: 10
periodSeconds: 5
volumes: