aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/coturn/config
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/app/coturn/config')
-rwxr-xr-xcluster/prod/app/coturn/config/docker-entrypoint.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/cluster/prod/app/coturn/config/docker-entrypoint.sh b/cluster/prod/app/coturn/config/docker-entrypoint.sh
new file mode 100755
index 0000000..cd945b0
--- /dev/null
+++ b/cluster/prod/app/coturn/config/docker-entrypoint.sh
@@ -0,0 +1,15 @@
+#!/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 }}'