Coturn: Moved secrets to "coturn" directory.

This commit is contained in:
Viyurz 2024-01-08 17:01:27 +01:00
parent d352bb7ff8
commit 25d82ea3f8
3 changed files with 2 additions and 4 deletions

View file

@ -12,6 +12,6 @@ for i in "$@"; do
done done
cp /etc/coturn/server.conf /tmp/turnserver.conf cp /etc/coturn/server.conf /tmp/turnserver.conf
cat /etc/coturn/secret.conf >> /tmp/turnserver.conf cat /etc/coturn/secrets.conf >> /tmp/turnserver.conf
exec "${expanded[@]}" exec "${expanded[@]}"

View file

@ -13,8 +13,6 @@ services:
volumes: volumes:
- ./turnserver.conf:/etc/coturn/server.conf - ./turnserver.conf:/etc/coturn/server.conf
- ./coturn-docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh - ./coturn-docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
# Content of turn-secret.conf: - ./secrets.conf:/etc/coturn/secrets.conf
# static-auth-secret=someSecret
- ../turn-secret.conf:/etc/coturn/secret.conf
- ../turn-cert.pem:/etc/coturn/cert.pem - ../turn-cert.pem:/etc/coturn/cert.pem
- ../turn-pkey.pem:/etc/coturn/pkey.pem - ../turn-pkey.pem:/etc/coturn/pkey.pem