From 2d78fff08f63dd7ce61f00cde639791b260e9891 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 11 Sep 2020 00:10:21 +0200 Subject: [PATCH] Add initial coturn server --- compose.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 126e230..36a7bcc 100644 --- a/compose.yml +++ b/compose.yml @@ -5,7 +5,7 @@ services: synapse: image: "matrixdotorg/synapse:latest" volumes: - - "data:/data" + - "synapse:/data" environment: - VIRTUAL_HOST=${DOMAIN} - VIRTUAL_PORT=8008 @@ -32,13 +32,25 @@ services: target: /docker-entrypoint.sh mode: 0555 + coturn: + image: instrumentisto/coturn:latest + networks: + - swarm_host + volumes: - data: + synapse: + traefik_letsencrypt: + external: true networks: proxy: external: true 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: entrypoint_conf: