diff --git a/deploy/compose-build-at-deploy.yml b/deploy/compose-build-at-deploy.yml index e943e4f..e734d88 100644 --- a/deploy/compose-build-at-deploy.yml +++ b/deploy/compose-build-at-deploy.yml @@ -82,6 +82,17 @@ services: RP_ID: ${RP_ID} RP_NAME: ${RP_NAME} ORIGIN: ${ORIGIN} + # This list is an allowlist: a variable set in the host's .env reaches the container ONLY + # if it is named here. Host env vars are otherwise used just to substitute ${…} in this + # file, so `COACH_PROVIDER` sitting in the panel while the container never sees it is a + # configuration that looks applied and does nothing. The `:-` defaults are what keep an + # instance that sets none of them exactly as it was: an empty value reads as unset. + COACH_PROVIDER: ${COACH_PROVIDER:-} + COACH_BASE_URL: ${COACH_BASE_URL:-} + COACH_MODEL: ${COACH_MODEL:-} + COACH_API_KEY: ${COACH_API_KEY:-} + COACH_DISABLED: ${COACH_DISABLED:-} + COACH_JOB_TIMEOUT_MS: ${COACH_JOB_TIMEOUT_MS:-} command: - /bin/sh - -c