aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/coturn/config/docker-entrypoint.sh
blob: cd945b00c602eb0a921d0e7e656e5e999a6cf1bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 }}'