Files
continuwuity/servers/containers/coturn.container
T

60 lines
1.3 KiB
INI
Raw Normal View History

2024-11-19 13:20:32 +00:00
[Unit]
Description=Coturn
Wants=network-online.target
After=network-online.target
[Container]
ContainerName=coturn
NoNewPrivileges=true
Image=docker.io/coturn/coturn:latest
2024-11-19 15:53:05 +00:00
# ReadOnly=true
2024-11-19 13:20:32 +00:00
AutoUpdate=registry
2024-11-19 15:53:05 +00:00
# Network=web.network
2024-11-19 13:20:32 +00:00
2024-11-19 15:53:05 +00:00
Volume=/etc/coturn/turnserver.conf:/etc/coturn/turnserver.conf:ro,z
Volume=traefik-certs.volume:/data/certs:ro,U
# TODO: TURN TLS
2024-11-19 13:20:32 +00:00
PublishPort=0.0.0.0:60006-65535:60006-65535/udp
PublishPort=[::]:60006-65535:60006-65535/udp
2024-11-19 15:53:05 +00:00
PublishPort=0.0.0.0:3478:3478
PublishPort=[::]:3478:3478
PublishPort=0.0.0.0:3478:3478/udp
PublishPort=[::]:3478:3478/udp
PublishPort=0.0.0.0:5349:5349
PublishPort=[::]:5349:5349
PublishPort=0.0.0.0:5349:5349/udp
PublishPort=[::]:5349:5349/udp
Label="traefik.enable=false"
2024-11-19 13:20:32 +00:00
Label="traefik.http.routers.coturn.rule=Host(`coturn.ellis.link`)"
2024-11-19 15:53:05 +00:00
# Label="traefik.http.routers.coturn.entrypoints=https"
2024-11-19 13:20:32 +00:00
2024-11-19 15:53:05 +00:00
# Label="traefik.http.routers.coturn.middlewares=default@file"
2024-11-19 13:20:32 +00:00
Label="homepage.group=Services"
Label="homepage.name=coturn"
2024-11-19 15:53:05 +00:00
# Label="homepage.href=https://coturn.ellis.link"
2024-11-19 13:20:32 +00:00
# Label="kuma.coturn.http.name=Uptime Kuma"
# Label=kuma.__web='"coturn.ellis.link"'
StopTimeout=100
[Service]
Restart=on-failure
RestartSec=5
TimeoutStopSec=2m
TimeoutStartSec=2m
# StartLimitInterval=1m
StartLimitBurst=5
[Install]
2024-11-19 15:53:05 +00:00
WantedBy=default.target