Coturn: Use zerossl-bot for certificate.
This commit is contained in:
parent
cb1eb9b71b
commit
8e12942716
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue