Files
Heimdall/docker/docker-compose.coturn.yml
T

26 lines
901 B
YAML
Raw Normal View History

# Optional TURN relay, used only by a future/externally integrated WebRTC setup.
services:
coturn:
image: coturn/coturn:4.6
2026-10-28 06:38:24 +01:00
pull_policy: always
ports:
- "${COTURN_PORT:-3478}:3478/tcp"
- "${COTURN_PORT:-3478}:3478/udp"
- "${COTURN_RELAY_PORT_MIN:-49160}-${COTURN_RELAY_PORT_MAX:-49200}:${COTURN_RELAY_PORT_MIN:-49160}-${COTURN_RELAY_PORT_MAX:-49200}/udp"
entrypoint: ["turnserver"]
command: >
-n --use-auth-secret
--static-auth-secret-file=/run/secrets/coturn_secret
--realm=${COTURN_REALM:-heimdall.local}
--fingerprint --no-tlsv1 --no-tlsv1_1 --log-file=stdout
--no-cli
--listening-port=3478
--min-port=${COTURN_RELAY_PORT_MIN:-49160}
--max-port=${COTURN_RELAY_PORT_MAX:-49200}
secrets:
- coturn_secret
restart: unless-stopped
secrets:
coturn_secret:
file: ./optional/secrets/coturn_secret