feat: turn config

Closes https://git.coopcloud.tech/coop-cloud/matrix-synapse/issues/17.
This commit is contained in:
cellarspoon
2021-12-13 00:03:24 +01:00
parent 4f936a594a
commit daf4fcb02e
3 changed files with 38 additions and 7 deletions

22
compose.turn.yml Normal file
View File

@ -0,0 +1,22 @@
---
version: "3.8"
services:
app:
secrets:
- db_password
- turn_shared_secret
- turn_password
environment:
- 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}