add registration file support
This commit is contained in:
parent
4010bfc849
commit
64ad23622b
5 changed files with 16 additions and 4 deletions
|
@ -3,4 +3,4 @@ src = "server.yaml.tmpl"
|
|||
dest = "/var/lib/matrix-synapse/server.yaml"
|
||||
uid = 2222
|
||||
gid = 2222
|
||||
mode = "0644"
|
||||
mode = "0640"
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/var/lib/matrix-synapse/signing/ true matrix-synapse 0640 0750
|
||||
/var/lib/matrix-synapse/media_store/ true matrix-synapse 0640 0750
|
||||
/var/lib/matrix-synapse/uploads true matrix-synapse 0640 0750
|
||||
/var/lib/matrix-synapse/registrations true matrix-synapse 0640 0750
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue