Add coturn to nextcloud

This commit is contained in:
Marko Korhonen 2021-08-08 15:22:24 +03:00
parent 59cf0f1c1f
commit d98bf69a3b
2 changed files with 20 additions and 0 deletions

1
docker/nextcloud/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

View file

@ -57,6 +57,25 @@ services:
depends_on:
- redis
coturn:
image: instrumentisto/coturn
container_name: coturn
restart: unless-stopped
env_file: .env
ports:
- "3478:3478/tcp"
- "3478:3478/udp"
networks:
- nextcloud
command:
- -n
- --log-file=stdout
- --min-port=49160
- --max-port=49200
- --realm=cloud.korhonen.cc
- --use-auth-secret
- --static-auth-secret=${STATIC_AUTH_SECRET}
networks:
nextcloud:
external: false