mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: abort docker compose when OSS_JWT_SECRET is unset (#356)
Using :-ChangeMeInProduction silently starts the stack with a known public signing key. Switch to :? so docker compose up exits with a clear error when the variable is not provided.
This commit is contained in:
parent
9e12d96ebb
commit
7eecadd8d6
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ services:
|
|||
TURN_SECRET: "${TURN_SECRET:-}"
|
||||
FORCE_TURN_RELAY: "${FORCE_TURN_RELAY:-false}"
|
||||
|
||||
OSS_JWT_SECRET: "${OSS_JWT_SECRET:-ChangeMeInProduction}"
|
||||
OSS_JWT_SECRET: "${OSS_JWT_SECRET:?OSS_JWT_SECRET must be set to a strong secret}"
|
||||
|
||||
# Telemetry
|
||||
ENABLE_TELEMETRY: "${ENABLE_TELEMETRY:-true}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue