Move coturn out of docker
It entirely broke the docker daemon for me today.
This commit is contained in:
parent
6fcc5f7da0
commit
65222e991e
@ -1,7 +0,0 @@
|
|||||||
#!/bin/sh -x
|
|
||||||
DOMAIN=turn.boba.best
|
|
||||||
|
|
||||||
mkdir -p data/coturn/certs
|
|
||||||
sudo cp /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/$DOMAIN/$DOMAIN.crt data/coturn/certs/
|
|
||||||
sudo cp /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/$DOMAIN/$DOMAIN.key data/coturn/certs/
|
|
||||||
sudo chown -R nobody:nogroup data/coturn/certs
|
|
@ -186,31 +186,6 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
synapse-autoheal: "true"
|
synapse-autoheal: "true"
|
||||||
|
|
||||||
|
|
||||||
coturn:
|
|
||||||
image: coturn/coturn:latest
|
|
||||||
restart: always
|
|
||||||
network_mode: "host"
|
|
||||||
command:
|
|
||||||
- "-n"
|
|
||||||
- "--use-auth-secret"
|
|
||||||
- "--static-auth-secret=$COTURN_AUTH_SECRET"
|
|
||||||
- "--realm=turn.boba.best"
|
|
||||||
- "--no-tcp-relay"
|
|
||||||
- "-q=16"
|
|
||||||
#- "--relay-ip=$$(detect-external-ip --ipv4)"
|
|
||||||
#- "--relay-ip=$$(detect-external-ip --ipv6)"
|
|
||||||
- "--cert=/certs/turn.boba.best.crt"
|
|
||||||
- "--pkey=/certs/turn.boba.best.key"
|
|
||||||
volumes:
|
|
||||||
- ./data/coturn/certs:/certs:ro
|
|
||||||
tmpfs:
|
|
||||||
- /var/lib/coturn
|
|
||||||
#ports:
|
|
||||||
# - 3478:3478
|
|
||||||
# - 5349:5349
|
|
||||||
# - 49152-65535:49152-65535/udp
|
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:latest
|
image: prom/prometheus:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
Reference in New Issue
Block a user