fix: dont use turn user/pass

This commit is contained in:
cellarspoon 2021-12-13 10:32:06 +01:00
parent daf4fcb02e
commit e2d21764f1
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
4 changed files with 2 additions and 9 deletions

View File

@ -19,7 +19,5 @@ SYNAPSE_ADMIN_EMAIL=admin@example.com
#COMPOSE_FILE="compose.yml:compose.turn.yml"
#TURN_ENABLED=1
#TURN_URI=
#TURN_USERNAME=
#TURN_ALLOW_GUESTS=true
#SECRET_TURN_SHARED_SECRET_VERSION=v1
#SECRET_TURN_PASSWORD_VERSION=v1

View File

@ -1,3 +1,2 @@
export ENTRYPOINT_CONF_VERSION=v1
export TURNSERVER_CONF_VERSION=v1
export NGINX_CONFIG_VERSION=v1

View File

@ -11,12 +11,8 @@ services:
- TURN_ALLOW_GUESTS
- TURN_ENABLED
- TURN_URI
- TURN_USERNAME
secrets:
turn_shared_secret:
external: true
name: ${STACK_NAME}_turn_shared_secret_${SECRET_TURN_SHARED_SECRET_VERSION}
turn_password:
external: true
name: ${STACK_NAME}_turn_password_${SECRET_TURN_PASSWORD_VERSION}

View File

@ -1136,8 +1136,8 @@ turn_shared_secret: "{{ secret "turn_shared_secret" }}"
# The Username and password if the TURN server needs them and
# does not use a token
#
turn_username: "{{ env "TURN_USERNAME" }}"
turn_password: "{{ secret "turn_password" }}"
#turn_username: "TURNSERVER_USERNAME"
#turn_password: "TURNSERVER_PASSWORD"
# How long generated TURN credentials last
#