TrueChartsClone/charts/stable/kitchenowl/values.yaml

59 lines
1.3 KiB
YAML

image:
repository: tccr.io/truecharts/kitchenowl-web
pullPolicy: IfNotPresent
tag: beta@sha256:a4339a4ef1f9c38f98fea3e71aafb9f5c5ab527a361295640ca156bcb9d247c3
backendImage:
repository: tccr.io/truecharts/kitchenowl-backend
pullPolicy: IfNotPresent
tag: beta@sha256:ef86b2d552d66dbff396a5d3fca0128d5f2c3909a464f5d1e1f7fc59c4c54dcc
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
FRONT_URL: "http://localhost:10246"
# Backend listens on 5000 websockets.
BACK_URL: "localhost:5000"
service:
main:
ports:
main:
protocol: HTTP
targetPort: 80
port: 10246
additionalContainers:
backend:
name: backend
image: "{{ .Values.backendImage.repository }}:{{ .Values.backendImage.tag }}"
env:
- name: FRONT_URL
value: "{{ .Values.env.FRONT_URL }}"
# Backend also listens on 80, but afaik there is no use as of now
# Changed port to 81 to avoid conflict with frontend
- name: HTTP_PORT
value: "81"
- name: JWT_SECRET_KEY
valueFrom:
secretKeyRef:
name: kitchenowl-secrets
key: JWT_SECRET_KEY
volumeMounts:
- name: data
mountPath: "/data"
persistence:
data:
enabled: true
mountPath: "/data"
portal:
enabled: true