Add coturn to nextcloud

This commit is contained in:
Marko Korhonen 2021-08-08 15:22:24 +03:00
parent 924cc4f807
commit 9cdd992f20
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: depends_on:
- redis - 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: networks:
nextcloud: nextcloud:
external: false external: false