From 50caacff696873caa3bd60502498e3301fe3ae24 Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Thu, 22 Dec 2022 11:02:48 +0000 Subject: [PATCH] Fix COTURN config when selfhosting netbird Coturn doesn't read the turnserver.conf when selfhosting netbird. This PR fixes that. --- infrastructure_files/docker-compose.yml.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure_files/docker-compose.yml.tmpl b/infrastructure_files/docker-compose.yml.tmpl index 5a78d2dd2..0d218a314 100644 --- a/infrastructure_files/docker-compose.yml.tmpl +++ b/infrastructure_files/docker-compose.yml.tmpl @@ -58,6 +58,9 @@ services: # - ./privkey.pem:/etc/coturn/private/privkey.pem:ro # - ./cert.pem:/etc/coturn/certs/cert.pem:ro network_mode: host + command: + - -c /etc/turnserver.conf + volumes: $MGMT_VOLUMENAME: $SIGNAL_VOLUMENAME: