-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.toml
44 lines (38 loc) · 1.23 KB
/
config-sample.toml
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
[app]
# The domain pointing to this server
domain = "public.commune.sh"
# The port the server will listen on
port = 8989
[appservice]
# ID of the appservice registration
id = "commune"
# sender_localpart from the appservice registration
sender_localpart = "public"
# The access token from the appservice registration
access_token = "app_service_access_token"
# The homeserver access token from the appservice registration
hs_access_token = "homeserver_access_token"
[matrix]
# Local domain of the Synapse server
homeserver = "http://localhost:8008"
# The server_name part of your Synapse configuration
server_name = "commune.sh"
# DB connection string for the Synapse database
db = "postgres://commune:[email protected]:5432/synapse?sslmode=disable"
[security]
# This should include the domain you'll run this server on, and any other
# domains you want to allow for local development
allowed_origins = ["http://public.commune.sh"]
[log]
max_size = 100
max_backups = 7
max_age = 30
compress = true
[capabilities.public_rooms]
# List public server capabilities. Clients can query this endpoint to see what the server supports.
list_rooms = true
view_hierarchy = true
read_messages = true
[cache]
# Cache configuration
public_rooms = true