First fail at coturn

This commit is contained in:
Jade Ellis 2024-11-19 13:20:32 +00:00
parent 66dbdc6533
commit b231f4bd2e
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 66 additions and 0 deletions

View file

@ -54,6 +54,9 @@ client=https://matrix.ellis.link, \
server=matrix.ellis.link:443 \
}"
# Environment="CONDUWUIT_TURN_URIS=[\"turns:coturn.ellis.link?transport=udp\",\"turns:coturn.ellis.link?transport=tcp\"]"
# Environment="CONDUWUIT_TURN_SECRET=qjRh55G51K7V0ZqB7Z8ZEkxZjBLJMgkwEs8acFjx"
Environment="CONDUWUIT_SENTRY=true"
Environment="CONDUWUIT_SENTRY_ENDPOINT=https://c885d1475cef5c54bbd32b1512e0ae20@o4507835405369344.ingest.de.sentry.io/4508059491696720"

View file

@ -0,0 +1,63 @@
[Unit]
Description=Coturn
Wants=network-online.target
After=network-online.target
[Container]
ContainerName=coturn
NoNewPrivileges=true
Image=docker.io/coturn/coturn:latest
ReadOnly=true
AutoUpdate=registry
Network=web.network
PublishPort=0.0.0.0:60006-65535:60006-65535/udp
PublishPort=[::]:60006-65535:60006-65535/udp
# 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
Exec= --realm coturn.ellis.link \
--tls-listening-port=443 \
--listening-ip=0.0.0.0 \
--min-port=60006 \
--max-port=65535 \
--use-auth-secret \
--static-auth-secret=qjRh55G51K7V0ZqB7Z8ZEkxZjBLJMgkwEs8acFjx
Label="traefik.enable=true"
Label="traefik.http.routers.coturn.rule=Host(`coturn.ellis.link`)"
Label="traefik.http.routers.coturn.entrypoints=https"
Label="traefik.http.routers.coturn.middlewares=default@file"
Label="homepage.group=Services"
Label="homepage.name=coturn"
Label="homepage.href=https://coturn.ellis.link"
# 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]
# WantedBy=default.target