forked from element-hq/synapse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomeserver.yaml.example
More file actions
57 lines (56 loc) · 1.73 KB
/
Copy pathhomeserver.yaml.example
File metadata and controls
57 lines (56 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Configuration file for Synapse.
#
# This is a YAML file: see [1] for a quick introduction. Note in particular
# that *indentation is important*: all the elements of a list or dictionary
# should have the same indentation.
#
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
#
# For more information on how to configure Synapse, including a complete accounting of
# each option, go to docs/usage/configuration/config_documentation.md or
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
server_name: "localhost"
pid_file: homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
bind_addresses: ["::1", "127.0.0.1"]
resources:
- names: [client, federation]
compress: false
database:
name: sqlite3
args:
database: homeserver.db
log_config: "./localhost.log.config"
media_store_path: ./media_store
# registration_shared_secret: "..."
report_stats: false
macaroon_secret_key: "..."
form_secret: "..."
signing_key_path: "<PATH_TO_SIGNING_KEY>"
trusted_key_servers:
- server_name: "matrix.org"
suppress_key_server_warning: true
registration_requires_token: false
enable_registration: false
# enable_registration_without_verification: true
password_config:
enabled: true
localdb_enabled: false
password_providers:
- module: modules.rest_auth_provider.rest_auth_provider.RestAuthProvider
config:
api_base: "http://0.0.0.0:9000"
admins:
- "@admin:localhost"
modules:
- module: modules.room_service.module.RoomServiceModule
config:
admin_user_id: "@admin:localhost"
admin_token: "syt_"
homeserver: "http://localhost:XXXX"
- module: modules.bundle_service.module.BundleServiceModule
# vim:ft=yaml