Add MongoDB initialization script and update deployment configurations

This commit is contained in:
Elmar Kresse
2025-06-17 17:26:10 +02:00
parent ffbd5a0991
commit c53a087f1e
8 changed files with 36 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ spec:
- name: OVERLEAF_SITE_LANGUAGE
value: {{ .Values.overleaf.siteLanguage | quote }}
- name: OVERLEAF_MONGO_URL
value: 'mongodb://{{ .Values.mongo.rootUser }}:{{ .Values.mongo.rootPassword }}@mongo:27017/{{ .Values.mongo.initDb }}?replicaSet={{ .Values.mongo.replSet }}'
value: 'mongodb://{{ .Values.mongo.rootUser | quote }}:{{ .Values.mongo.rootPassword | quote }}@{{ .Values.mongo.host | quote }}:{{ .Values.mongo.port }}/{{ .Values.mongo.initDb | quote }}?authSource=admin&replicaSet={{ .Values.mongo.replSet | quote }}'
- name: OVERLEAF_REDIS_HOST
value: redis
- name: REDIS_HOST