[matrix] update turn server config for Task#12025
This commit is contained in:
parent
cb9ae26793
commit
3ae0c7abf2
3 changed files with 10 additions and 2 deletions
matrix_extDB/matrix_noDB
|
@ -10,3 +10,6 @@ EMAIL=technik@ungleich.ch
|
|||
STAGING=no
|
||||
redishost=redis-node1.ungleich.cloud
|
||||
redisport=7300
|
||||
turnhost=turn.tws-matrix.ungleich.cloud
|
||||
turnport=3478
|
||||
turnsecret=iasdfsadfasdfasdfasdffsdfasdfsdfsdf
|
||||
|
|
|
@ -14,6 +14,9 @@ services:
|
|||
- DBPASSWORD=${dbpassword}
|
||||
- REDISHOST=${redishost}
|
||||
- REDISPORT=${redisport}
|
||||
- TURNPORT=${turnport}
|
||||
- TURNHOST=${turnhost}
|
||||
- TURNSECRET=${turnsecret}
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./synapse:/data
|
||||
|
|
|
@ -1154,10 +1154,12 @@ url_preview_accept_language:
|
|||
# The public URIs of the TURN server to give to clients
|
||||
#
|
||||
#turn_uris: []
|
||||
|
||||
turn_uris:
|
||||
- "turn:$TURNHOST:$TURNPORT?transport=tcp"
|
||||
- "turn:$TURNHOST:$TURNPORT?transport=udp"
|
||||
# The shared secret used to compute passwords for the TURN server
|
||||
#
|
||||
#turn_shared_secret: "YOUR_SHARED_SECRET"
|
||||
turn_shared_secret: $TURNSECRET
|
||||
|
||||
# The Username and password if the TURN server needs them and
|
||||
# does not use a token
|
||||
|
|
Loading…
Reference in a new issue