diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-12-11 20:14:34 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-12-11 20:14:34 +0100 |
commit | 137c520f02c15bae932e06611268e6f5135ed42c (patch) | |
tree | 88475fda13a15bfc8c21618335271b55bff29103 /yaml | |
parent | 12919b86d99d577d8ecd768d932c606967e54eb8 (diff) |
Add audio env var
Diffstat (limited to 'yaml')
-rw-r--r-- | yaml/configs/cas.yaml | 1 | ||||
-rw-r--r-- | yaml/deployments/cas.yaml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/yaml/configs/cas.yaml b/yaml/configs/cas.yaml index a7aa9d8..34d5d58 100644 --- a/yaml/configs/cas.yaml +++ b/yaml/configs/cas.yaml @@ -6,3 +6,4 @@ data: RUST_LOG: ${RUST_LOG} DATABASE_URL: "postgres://postgres:password@postgres-service:5432/gis" ALLOWED_HOST: "0.0.0.0:8000" + AUDIO_PATH: "./assets" diff --git a/yaml/deployments/cas.yaml b/yaml/deployments/cas.yaml index fc0289a..f7814ad 100644 --- a/yaml/deployments/cas.yaml +++ b/yaml/deployments/cas.yaml @@ -47,6 +47,11 @@ spec: configMapKeyRef: name: cas-config key: ALLOWED_HOST + - name: AUDIO_PATH + valueFrom: + configMapKeyRef: + name: cas-config + key: AUDIO_PATH ports: - containerPort: 8000 restartPolicy: Always |