Coturn working

This commit is contained in:
Jade Ellis
2024-11-19 15:53:05 +00:00
parent e885f6c8ad
commit cb0edd90be
5 changed files with 74 additions and 24 deletions
@@ -55,6 +55,10 @@ Environment="CONDUWUIT_WELL_KNOWN={ \
client=https://matrix.pissing.dev, \
server=matrix.pissing.dev:443 \
}"
Environment="CONDUWUIT_TURN_URIS=[\"turns:coturn.ellis.link?transport=udp\",\"turns:coturn.ellis.link?transport=tcp\",\"turn:coturn.ellis.link?transport=udp\",\"turn: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"
+2 -2
View File
@@ -54,8 +54,8 @@ 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_TURN_URIS=[\"turns:coturn.ellis.link?transport=udp\",\"turns:coturn.ellis.link?transport=tcp\",\"turn:coturn.ellis.link?transport=udp\",\"turn: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"
+19 -22
View File
@@ -10,38 +10,35 @@ After=network-online.target
ContainerName=coturn
NoNewPrivileges=true
Image=docker.io/coturn/coturn:latest
ReadOnly=true
# ReadOnly=true
AutoUpdate=registry
Network=web.network
# Network=web.network
Volume=/etc/coturn/turnserver.conf:/etc/coturn/turnserver.conf:ro,z
Volume=traefik-certs.volume:/data/certs:ro,U
# TODO: TURN TLS
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
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.enable=false"
Label="traefik.http.routers.coturn.rule=Host(`coturn.ellis.link`)"
Label="traefik.http.routers.coturn.entrypoints=https"
# Label="traefik.http.routers.coturn.entrypoints=https"
Label="traefik.http.routers.coturn.middlewares=default@file"
# Label="traefik.http.routers.coturn.middlewares=default@file"
Label="homepage.group=Services"
Label="homepage.name=coturn"
Label="homepage.href=https://coturn.ellis.link"
# Label="homepage.href=https://coturn.ellis.link"
# Label="kuma.coturn.http.name=Uptime Kuma"
# Label=kuma.__web='"coturn.ellis.link"'
@@ -60,4 +57,4 @@ TimeoutStartSec=2m
StartLimitBurst=5
[Install]
# WantedBy=default.target
WantedBy=default.target