vps/coturn/docker-compose.yaml
2023-12-08 16:45:50 +01:00

20 lines
598 B
YAML

services:
coturn:
container_name: coturn
image: coturn/coturn:alpine
restart: always
network_mode: host
command:
- "--log-file=stdout"
- "-c"
- "/tmp/turnserver.conf"
tmpfs:
- /var/lib/coturn
volumes:
- ./turnserver.conf:/etc/coturn/server.conf
- ./coturn-docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
# Content of turn-secret.conf:
# static-auth-secret=someSecret
- ../turn-secret.conf:/etc/coturn/secret.conf
- ../turn-cert.pem:/etc/coturn/cert.pem
- ../turn-pkey.pem:/etc/coturn/pkey.pem