Coturn: Use zerossl-bot for certificate.

This commit is contained in:
Viyurz 2024-02-08 12:01:58 +01:00
parent cb1eb9b71b
commit 8e12942716

View file

@ -3,6 +3,7 @@ services:
container_name: coturn
image: coturn/coturn:alpine
restart: always
user: '666:666'
network_mode: host
command:
- "--log-file=stdout"
@ -14,5 +15,6 @@ services:
- ./turnserver.conf:/etc/coturn/server.conf
- ./coturn-docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- ./secrets.conf:/etc/coturn/secrets.conf
- ../turn-cert.pem:/etc/coturn/cert.pem
- ../turn-pkey.pem:/etc/coturn/pkey.pem
- /etc/letsencrypt/live/turn.viyurz.fr/fullchain.pem:/etc/coturn/cert.pem
# chown root:666 & chmod 640 on privkey file
- /etc/letsencrypt/live/turn.viyurz.fr/privkey.pem:/etc/coturn/pkey.pem