13 lines
375 B
YAML
13 lines
375 B
YAML
version: '3.8'
|
|
services:
|
|
coturn:
|
|
image: coturn/coturn:latest
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./turnserver.conf:/etc/turnserver.conf
|
|
- ./coturn/privkey.pem:/etc/ssl/private/privkey.pem:ro
|
|
- ./coturn/cert.pem:/etc/ssl/certs/cert.pem:ro
|
|
- ./nginx:/etc/nginx/conf.d
|
|
- /ssl:/ssl
|
|
- /mnt/logs/turn:/logs
|