diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-03-11 11:44:17 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-03-11 11:44:17 +0100 |
commit | 6b8a94ba2efc85970e66ad2a863f8240cddfde70 (patch) | |
tree | 4bf3dc6c5cb15620b5a978dbd803bd63fc81c8f1 /cluster/prod/app/coturn/config/docker-entrypoint.sh | |
parent | 850ea784e7bb96ee7af954805dab7d326f58c228 (diff) | |
download | nixcfg-6b8a94ba2efc85970e66ad2a863f8240cddfde70.tar.gz nixcfg-6b8a94ba2efc85970e66ad2a863f8240cddfde70.zip |
wip coturn
Diffstat (limited to 'cluster/prod/app/coturn/config/docker-entrypoint.sh')
-rwxr-xr-x | cluster/prod/app/coturn/config/docker-entrypoint.sh | 15 |
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 }}' |