nixcfg/cluster/prod/app/coturn/config/docker-entrypoint.sh

16 lines
353 B
Bash
Raw Permalink Normal View History

2023-03-11 10:44:17 +00:00
#!/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 }}'