2020-06-07 13:58:56 +02:00
|
|
|
version: '3.6'
|
|
|
|
services:
|
|
|
|
coturn:
|
|
|
|
image: instrumentisto/coturn:4.5
|
|
|
|
restart: unless-stopped
|
|
|
|
command:
|
2020-07-12 19:15:40 +02:00
|
|
|
- "--external-ip=${EXTERNAL_IPv4}"
|
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
|