nixcfg/cluster/prod/app/coturn/config/docker-entrypoint.sh
2023-03-11 11:44:17 +01:00

15 lines
353 B
Bash
Executable file

#!/bin/sh
turnserver \
-n \
--external-ip=$(detect-external-ip) \
--min-port=49160 \
--max-port=49169 \
--log-file=stdout \
--use-auth-secret \
--realm turn.deuxfleurs.fr \
--no-cli \
--no-tls \
--no-dtls \
--prometheus \
--static-auth-secret '{{ key "secrets/coturn/static-auth-secret" | trimSpace }}'