diff options
author | kaiyou <pierre@jaury.eu> | 2018-02-05 21:53:53 +0100 |
---|---|---|
committer | kaiyou <pierre@jaury.eu> | 2018-02-05 21:53:53 +0100 |
commit | cd51931b62aef63dacf4d79cdfa5de56da4eeda6 (patch) | |
tree | 374a7781fd367145a3b36c45db4d6e78849d3ff7 /contrib/docker/conf | |
parent | Add dynamic recaptcha configuration in the Docker image (diff) | |
download | synapse-cd51931b62aef63dacf4d79cdfa5de56da4eeda6.tar.xz |
Add dynamic TURN configuration in the Docker image
Diffstat (limited to 'contrib/docker/conf')
-rw-r--r-- | contrib/docker/conf/homeserver.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/docker/conf/homeserver.yaml b/contrib/docker/conf/homeserver.yaml index 6f1de24aad..6f8fb24e5f 100644 --- a/contrib/docker/conf/homeserver.yaml +++ b/contrib/docker/conf/homeserver.yaml @@ -126,10 +126,19 @@ recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify" ## Turn ## +{% if SYNAPSE_TURN_URIS %} +turn_uris: +{% for uri in SYNAPSE_TURN_URIS.split(',') %} - {{ uri }} +{% endfor %} +turn_shared_secret: "{{ SYNAPSE_TURN_SECRET }}" +turn_user_lifetime: "1h" +turn_allow_guests: True +{% else %} turn_uris: [] turn_shared_secret: "YOUR_SHARED_SECRET" turn_user_lifetime: "1h" turn_allow_guests: True +{% endif %} ## Registration ## |