Last active
August 3, 2024 08:23
-
-
Save sdesalas/52e38639d712ed678f885f8aefff8f81 to your computer and use it in GitHub Desktop.
Coturn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
app: | |
image: coturn/coturn | |
#ports: | |
# - 3478:3478/tcp | |
# - 3478:3478/udp | |
# - 5349:5349/tcp # TLS | |
# - 5349:5349/udp # TLS | |
# - 49152-49200:49152-49200/udp | |
network_mode: host # Ports already mapped | |
restart: unless-stopped | |
environment: | |
DETECT_EXTERNAL_IP: yes | |
DETECT_RELAY_IP: yes | |
command: ["--log-file=stdout", "--external-ip=$(detect-external-ip)", "--max-port=49200"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment