Skip to content

Instantly share code, notes, and snippets.

@Xitee1
Created June 23, 2023 06:38
Show Gist options
  • Save Xitee1/07be86b4efc8a0b3d763520346ce99c6 to your computer and use it in GitHub Desktop.
Save Xitee1/07be86b4efc8a0b3d763520346ce99c6 to your computer and use it in GitHub Desktop.
coTurn docker server setup for NextCloud Talk. I created this because I could not find any working and simple docker compose for the coTurn server. This compose is really simple to set up. It already has configured everything neccessary. Just change out your secret and realm and you're ready to go. Make sure to open the port 3488 and 49160-49200…
version: '3'
services:
coturn:
image: coturn/coturn:alpine
command: >
-n --log-file=stdout
--min-port=49160 --max-port=49200
--listening-port=3488
--fingerprint
--use-auth-secret
--static-auth-secret=YOUR_SECRET
--realm=turn.your-domain.com
--total-quota=0
--bps-capacity=0
--stale-nonce
--no-multicast-peers
--no-cli
environment:
- DETECT_EXTERNAL_IP=yes
- DETECT_RELAY_IP=yes
network_mode: host
restart: unless-stopped
volumes:
- type: tmpfs
target: /var/lib/coturn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment