vps/projects/coturn/compose.yaml.mako

21 lines
955 B
Text
Raw Normal View History

services:
coturn:
container_name: coturn
image: docker.io/coturn/coturn:4-alpine
restart: always
2024-10-01 14:17:38 +02:00
user: ${env['users']['coturn']}:${env['users']['coturn']}
ports:
- ${env['ports']['coturn_listening']}:${env['ports']['coturn_listening']}
- ${env['ports']['coturn_listening']}:${env['ports']['coturn_listening']}/udp
- ${env['ports']['coturn_tls_listening']}:${env['ports']['coturn_tls_listening']}
- ${env['ports']['coturn_tls_listening']}:${env['ports']['coturn_tls_listening']}/udp
- ${env['ports']['coturn_relay_min']}-${env['ports']['coturn_relay_max']}:${env['ports']['coturn_relay_min']}-${env['ports']['coturn_relay_max']}/udp
tmpfs:
- /var/lib/coturn
volumes:
- ./turnserver.conf.rendered:/etc/coturn/turnserver.conf:ro
- ${env['certs']['coturn']['cert']}:/etc/coturn/cert.pem:ro
- ${env['certs']['coturn']['pkey']}:/etc/coturn/pkey.pem:ro
2024-10-07 11:37:52 +02:00
${env['networks_attr']}