From d8122d1310a854bd2e26611d17acf84e7067a9b5 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 4 Aug 2016 11:52:12 +0200 Subject: [PATCH] add turn config values --- rootfs/etc/confd/templates/server.yaml.tmpl | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/rootfs/etc/confd/templates/server.yaml.tmpl b/rootfs/etc/confd/templates/server.yaml.tmpl index 105d022..8f0101c 100644 --- a/rootfs/etc/confd/templates/server.yaml.tmpl +++ b/rootfs/etc/confd/templates/server.yaml.tmpl @@ -93,14 +93,9 @@ enable_registration_captcha: False registration_shared_secret: "{{getenv "SHARED_SECRET"}}" -# The public URIs of the TURN server to give to clients -turn_uris: [] - -# The shared secret used to compute passwords for the TURN server -turn_shared_secret: "YOUR_SHARED_SECRET" - -# How long generated TURN credentials last -turn_user_lifetime: "1h" +turn_uris: [{{getenv "TURN_URIS"}}] +turn_shared_secret: "{{getenv "TURN_SHARED_SECRET"}}" +turn_user_lifetime: {{getenv "TURN_USER_LIFETIME"}} enable_registration: False allow_guest_access: False @@ -134,4 +129,3 @@ perspectives: verify_keys: "ed25519:auto": key: "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw" -