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: >-
|
command: >-
|
||||||
turnserver
|
turnserver
|
||||||
--use-auth-secret
|
--use-auth-secret
|
||||||
--static-auth-secret=$TURN_SECRET
|
--static-auth-secret=$$TURN_SECRET
|
||||||
--realm=$SNIKKET_DOMAIN
|
--realm=$$SNIKKET_DOMAIN
|
||||||
--listening-port=3478
|
--listening-port=3478
|
||||||
--tls-listening-port=5349
|
--tls-listening-port=5349
|
||||||
--cert=/snikket/letsencrypt/live/$SNIKKET_DOMAIN/fullchain.pem
|
--cert=/snikket/letsencrypt/live/$$SNIKKET_DOMAIN/fullchain.pem
|
||||||
--pkey=/snikket/letsencrypt/live/$SNIKKET_DOMAIN/privkey.pem
|
--pkey=/snikket/letsencrypt/live/$$SNIKKET_DOMAIN/privkey.pem
|
||||||
--min-port=49152
|
--min-port=49152
|
||||||
--max-port=65535
|
--max-port=65535
|
||||||
--fingerprint
|
--fingerprint
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user