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" -