Compare commits
2 Commits
auto-join-
...
auto_join_
| Author | SHA1 | Date | |
|---|---|---|---|
| e0c0861c16 | |||
| 41fdcafaa0 |
@ -39,7 +39,9 @@ PASSWORD_LOGIN_ENABLED=true
|
|||||||
## Room auto-join
|
## Room auto-join
|
||||||
|
|
||||||
#AUTO_JOIN_ROOM_ENABLED=1
|
#AUTO_JOIN_ROOM_ENABLED=1
|
||||||
|
#AUTO_JOIN_ROOM is deprecated, but kept for backward compatibility. Please use only one, and prefer AUTO_JOIN_ROOM_LIST.
|
||||||
#AUTO_JOIN_ROOM="#example:example.com"
|
#AUTO_JOIN_ROOM="#example:example.com"
|
||||||
|
#AUTO_JOIN_ROOM_LIST="[\"#room1:example.com\",\"#room2:example.com\"]"
|
||||||
|
|
||||||
## Logging
|
## Logging
|
||||||
|
|
||||||
|
|||||||
@ -48,6 +48,7 @@ services:
|
|||||||
- ALLOWED_LIFETIME_MAX
|
- ALLOWED_LIFETIME_MAX
|
||||||
- ALLOW_PUBLIC_ROOMS_FEDERATION
|
- ALLOW_PUBLIC_ROOMS_FEDERATION
|
||||||
- AUTO_JOIN_ROOM
|
- AUTO_JOIN_ROOM
|
||||||
|
- AUTO_JOIN_ROOM_LIST
|
||||||
- AUTO_JOIN_ROOM_ENABLED
|
- AUTO_JOIN_ROOM_ENABLED
|
||||||
- DISABLE_FEDERATION
|
- DISABLE_FEDERATION
|
||||||
- DOMAIN
|
- DOMAIN
|
||||||
|
|||||||
@ -157,8 +157,15 @@ registration_shared_secret: {{ secret "registration" }}
|
|||||||
|
|
||||||
{{ if eq (env "AUTO_JOIN_ROOM_ENABLED") "1" }}
|
{{ if eq (env "AUTO_JOIN_ROOM_ENABLED") "1" }}
|
||||||
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#auto_join_rooms
|
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#auto_join_rooms
|
||||||
|
|
||||||
|
# AUTO_JOIN_ROOM only for backwards compatibility
|
||||||
|
{{ if (env "AUTO_JOIN_ROOM") }}
|
||||||
auto_join_rooms:
|
auto_join_rooms:
|
||||||
- "{{ env "AUTO_JOIN_ROOM" }}"
|
- "{{ env "AUTO_JOIN_ROOM" }}"
|
||||||
|
{{ else }}
|
||||||
|
auto_join_rooms: {{ env "AUTO_JOIN_ROOM_LIST" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#session_lifetime
|
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#session_lifetime
|
||||||
|
|||||||
Reference in New Issue
Block a user