add registration file support

This commit is contained in:
Sebastian Hugentobler 2018-05-23 21:34:55 +02:00
parent 4010bfc849
commit 64ad23622b
5 changed files with 16 additions and 4 deletions

View file

@ -114,7 +114,12 @@ room_invite_state_types:
- "m.room.avatar"
- "m.room.name"
app_service_config_files: []
app_service_config_files: {{if not (getenv "REGISTRATIONS")}}[]{{end}}
{{if (getenv "REGISTRATIONS")}}
{{range $registration := split (getenv "REGISTRATIONS") ";"}}
- {{ $registration }}
{{end}}
{{end}}
macaroon_secret_key: "{{getenv "MACAROON_SECRET_KEY"}}"
expire_access_token: False
@ -122,7 +127,7 @@ expire_access_token: False
signing_key_path: "/var/lib/matrix-synapse/signing/signing.key"
old_signing_keys: {}
key_refresh_interval: "1d" # 1 Day.
key_refresh_interval: "1d"
perspectives:
servers: