autojoin room config
This commit is contained in:
parent
a8f43e725d
commit
ef7d74d102
|
@ -15,6 +15,9 @@ COMPOSE_FILE="compose.yml"
|
|||
|
||||
#DISABLE_FEDERATION=1
|
||||
|
||||
#AUTO_JOIN_ROOM_ENABLED=1
|
||||
#AUTO_JOIN_ROOM="#example:example.com"
|
||||
|
||||
#COMPOSE_FILE="compose.yml:compose.keycloak.yml"
|
||||
#KEYCLOAK_ENABLED=1
|
||||
#KEYCLOAK_NAME=
|
||||
|
|
|
@ -12,6 +12,8 @@ services:
|
|||
- macaroon_secret_key
|
||||
- form_secret
|
||||
environment:
|
||||
- AUTO_JOIN_ROOM
|
||||
- AUTO_JOIN_ROOM_ENABLED
|
||||
- DISABLE_FEDERATION
|
||||
- DOMAIN
|
||||
- LETSENCRYPT_HOST=${DOMAIN}
|
||||
|
|
|
@ -1299,8 +1299,10 @@ account_threepid_delegates:
|
|||
# If the room already exists, make certain it is a publicly joinable
|
||||
# room. The join rule of the room must be set to 'public'.
|
||||
#
|
||||
#auto_join_rooms:
|
||||
# - "#example:example.com"
|
||||
{{ if eq (env "AUTO_JOIN_ROOM_ENABLED") "1" }}
|
||||
auto_join_rooms:
|
||||
- "{{ env "AUTO_JOIN_ROOM" }}"
|
||||
{{ end }}
|
||||
|
||||
# Where auto_join_rooms are specified, setting this flag ensures that the
|
||||
# the rooms exist by creating them when the first user on the
|
||||
|
|
Loading…
Reference in New Issue