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-ui
namespace: {{ .namespace }}
spec:
replicas: {{ .uiReplicas }}
replicas: 1
selector:
matchLabels:
component: ui
@@ -21,7 +21,7 @@ spec:
type: RuntimeDefault
containers:
- name: ui
image: {{ .uiImage }}
image: dessalines/lemmy-ui:0.19.15
securityContext:
allowPrivilegeEscalation: false
capabilities:
@@ -29,25 +29,25 @@ spec:
readOnlyRootFilesystem: false
env:
- name: LEMMY_UI_LEMMY_INTERNAL_HOST
value: "lemmy-backend:{{ .backendPort }}"
value: "lemmy-backend:8536"
- name: LEMMY_UI_LEMMY_EXTERNAL_HOST
value: "{{ .domain }}"
- name: LEMMY_UI_HTTPS
value: "true"
ports:
- containerPort: {{ .uiPort }}
- containerPort: 1234
name: http
livenessProbe:
httpGet:
path: /
port: {{ .uiPort }}
port: 1234
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: {{ .uiPort }}
port: 1234
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 5