diff --git a/servers/containers/conduwuit.container b/servers/containers/conduwuit.container index 597b4262..3dffab8f 100644 --- a/servers/containers/conduwuit.container +++ b/servers/containers/conduwuit.container @@ -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" diff --git a/servers/containers/coturn.container b/servers/containers/coturn.container new file mode 100644 index 00000000..aaad3b1a --- /dev/null +++ b/servers/containers/coturn.container @@ -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 \ No newline at end of file