add turn credentials and config

This commit is contained in:
Abhishek Kumar 2026-02-03 11:34:44 +05:30
parent fde2940e53
commit 8ba69b35df
3 changed files with 33 additions and 7 deletions

View file

@ -62,12 +62,18 @@ services:
image: coturn/coturn:4.8.0
container_name: coturn
restart: unless-stopped
network_mode: host
ports:
- "3478:3478/udp" # TURN/STUN UDP
- "3478:3478/tcp" # TURN/STUN TCP
- "5349:5349/tcp" # TURNS (TLS)
- "49152-49200:49152-49200/udp" # Relay ports
volumes:
- ./config/coturn/turnserver.conf:/etc/coturn/turnserver.conf:ro
command:
- "-c"
- "/etc/coturn/turnserver.conf"
networks:
- app-network
volumes:
postgres_data: