Add initial coturn server

This commit is contained in:
3wc 2020-09-11 00:10:21 +02:00
parent 645c4b105a
commit 2d78fff08f
1 changed files with 14 additions and 2 deletions

View File

@ -5,7 +5,7 @@ services:
synapse: synapse:
image: "matrixdotorg/synapse:latest" image: "matrixdotorg/synapse:latest"
volumes: volumes:
- "data:/data" - "synapse:/data"
environment: environment:
- VIRTUAL_HOST=${DOMAIN} - VIRTUAL_HOST=${DOMAIN}
- VIRTUAL_PORT=8008 - VIRTUAL_PORT=8008
@ -32,13 +32,25 @@ services:
target: /docker-entrypoint.sh target: /docker-entrypoint.sh
mode: 0555 mode: 0555
coturn:
image: instrumentisto/coturn:latest
networks:
- swarm_host
volumes: volumes:
data: synapse:
traefik_letsencrypt:
external: true
networks: networks:
proxy: proxy:
external: true external: true
internal: internal:
# use host-mode networking until Docker can handle mass port-forwards:
# https://github.com/moby/moby/issues/11185
swarm_host:
external:
name: 'host'
configs: configs:
entrypoint_conf: entrypoint_conf: