docker/docker-compose.coturn.yml

18 lines
534 B
YAML
Raw Normal View History

2020-06-07 13:58:56 +02:00
version: '3.6'
services:
coturn:
image: instrumentisto/coturn:4.5
restart: unless-stopped
command:
2020-07-21 17:23:08 +02:00
- "--external-ip=${EXTERNAL_IPv4}/${EXTERNAL_IPv4}"
- "--external-ip=${EXTERNAL_IPv6:-::1}/${EXTERNAL_IPv6:-::1}"
2020-06-07 13:58:56 +02:00
- "--static-auth-secret=${TURN_SECRET}"
volumes:
- ssl_data:/etc/resty-auto-ssl
- ./mod/coturn/entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- ./mod/coturn/turnserver.conf:/etc/coturn/turnserver.conf
network_mode: host
volumes:
ssl_data:
name: ssl_data