🔧(config) create instance-specific configuration directories

The Docker image will now expect the working directory to be set,
for example to /app/config/fer for the current (RENATER) configuration.
This commit is contained in:
Jonathan Perret
2025-09-15 17:51:57 +02:00
parent 46c7a7eea7
commit dda5bb918d
16 changed files with 5 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ services:
volumes:
- ./src/satosa:/app
- ./docker/files/usr/local/etc/gunicorn/satosa.py:/usr/local/etc/gunicorn/satosa.py
working_dir: /app/config/fer
depends_on:
- redis
@@ -5,6 +5,7 @@ image:
satosa:
replicas: 1
workingDir: /app/config/fer
envVars:
BASE_URL: https://oidc2fer.127.0.0.1.nip.io
GUNICORN_CMD_ARGS: --workers=3
@@ -38,6 +38,9 @@ spec:
command:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.satosa.workingDir }}
workingDir: {{ . | quote }}
{{- end }}
{{- with .Values.satosa.args }}
args:
{{- toYaml . | nindent 12 }}

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB