Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
cd51931b
Commit
cd51931b
authored
7 years ago
by
kaiyou
Browse files
Options
Downloads
Patches
Plain Diff
Add dynamic TURN configuration in the Docker image
parent
81010a12
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/docker/README.md
+5
-2
5 additions, 2 deletions
contrib/docker/README.md
contrib/docker/conf/homeserver.yaml
+9
-0
9 additions, 0 deletions
contrib/docker/conf/homeserver.yaml
with
14 additions
and
2 deletions
contrib/docker/README.md
+
5
−
2
View file @
cd51931b
...
@@ -87,9 +87,12 @@ Synapse specific settings:
...
@@ -87,9 +87,12 @@ Synapse specific settings:
*
``SYNAPSE_REPORT_STATS``
, set this variable to
`yes`
to enable anonymous
*
``SYNAPSE_REPORT_STATS``
, set this variable to
`yes`
to enable anonymous
statistics reporting back to the Matrix project which helps us to get funding.
statistics reporting back to the Matrix project which helps us to get funding.
*
``SYNAPSE_RECAPTCHA_PUBLIC_KEY``
, set this variable to the recaptcha public
*
``SYNAPSE_RECAPTCHA_PUBLIC_KEY``
, set this variable to the recaptcha public
key in order to enable recaptcha upon registration
key in order to enable recaptcha upon registration
.
*
``SYNAPSE_RECAPTCHA_PRIVATE_KEY``
, set this variable to the recaptcha private
*
``SYNAPSE_RECAPTCHA_PRIVATE_KEY``
, set this variable to the recaptcha private
key in order to enable recaptcha upon registration
key in order to enable recaptcha upon registration.
*
``SYNAPSE_TURN_URIS``
, set this variable to the coma-separated list of TURN
uris to enable TURN for this homeserver.
*
``SYNAPSE_TURN_SECRET``
, set this to the TURN shared secret if required.
Shared secrets, these will be initialized to random values if not set:
Shared secrets, these will be initialized to random values if not set:
...
...
This diff is collapsed.
Click to expand it.
contrib/docker/conf/homeserver.yaml
+
9
−
0
View file @
cd51931b
...
@@ -126,10 +126,19 @@ recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify"
...
@@ -126,10 +126,19 @@ recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify"
## Turn ##
## 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_uris:
[]
turn_shared_secret:
"YOUR_SHARED_SECRET"
turn_shared_secret:
"YOUR_SHARED_SECRET"
turn_user_lifetime:
"1h"
turn_user_lifetime:
"1h"
turn_allow_guests:
True
turn_allow_guests:
True
{%
endif
%}
##
Registration
##
##
Registration
##
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment