fix coturn command variable escaping in docker-compose.yml
Use $$ instead of $ so Docker Compose does not interpolate TURN_SECRET and SNIKKET_DOMAIN from the host environment. The container shell expands them at runtime from env_file, which is both correct and avoids exposing secret values in docker inspect output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1b9aa86d91
commit
d932935dcf
@ -74,12 +74,12 @@ services:
|
||||
command: >-
|
||||
turnserver
|
||||
--use-auth-secret
|
||||
--static-auth-secret=$TURN_SECRET
|
||||
--realm=$SNIKKET_DOMAIN
|
||||
--static-auth-secret=$$TURN_SECRET
|
||||
--realm=$$SNIKKET_DOMAIN
|
||||
--listening-port=3478
|
||||
--tls-listening-port=5349
|
||||
--cert=/snikket/letsencrypt/live/$SNIKKET_DOMAIN/fullchain.pem
|
||||
--pkey=/snikket/letsencrypt/live/$SNIKKET_DOMAIN/privkey.pem
|
||||
--cert=/snikket/letsencrypt/live/$$SNIKKET_DOMAIN/fullchain.pem
|
||||
--pkey=/snikket/letsencrypt/live/$$SNIKKET_DOMAIN/privkey.pem
|
||||
--min-port=49152
|
||||
--max-port=65535
|
||||
--fingerprint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user