🔧(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:
@@ -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 |
Reference in New Issue
Block a user