Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Written by the mesh (modules/matrix). Conduit reads this file (CONDUIT_CONFIG); nothing comes
|
||||
# from the environment. server_name is the homeserver's permanent identity: every user id, room id
|
||||
# and signature in the database carries it, so it is the name this module is served under
|
||||
# (${bound:route:name-homeserver}) and never changes once a database exists.
|
||||
[global]
|
||||
server_name = "${bound:route:name-homeserver}"
|
||||
database_backend = "rocksdb"
|
||||
database_path = "/var/lib/matrix-conduit/"
|
||||
address = "0.0.0.0"
|
||||
port = 6167
|
||||
max_request_size = 20000000
|
||||
allow_registration = false
|
||||
allow_federation = true
|
||||
allow_check_for_updates = true
|
||||
trusted_servers = ["matrix.org"]
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"default_server_name": "${bound:route:name-homeserver}",
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "https://${bound:route:name-homeserver}"
|
||||
},
|
||||
"m.identity_server": {
|
||||
"base_url": "https://vector.im"
|
||||
}
|
||||
},
|
||||
"brand": "Element",
|
||||
"integrations_ui_url": "https://scalar.vector.im/",
|
||||
"integrations_rest_url": "https://scalar.vector.im/api",
|
||||
"integrations_widgets_urls": [
|
||||
"https://scalar.vector.im/_matrix/integrations/v1",
|
||||
"https://scalar.vector.im/api",
|
||||
"https://scalar-staging.vector.im/_matrix/integrations/v1",
|
||||
"https://scalar-staging.vector.im/api",
|
||||
"https://scalar-staging.riot.im/scalar/api"
|
||||
],
|
||||
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
|
||||
"uisi_autorageshake_app": "element-auto-uisi",
|
||||
"show_labs_settings": true,
|
||||
"room_directory": {
|
||||
"servers": [
|
||||
"${bound:route:name-homeserver}",
|
||||
"matrix.org",
|
||||
"gitter.im",
|
||||
"libera.chat"
|
||||
]
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"https://matrix.org": false,
|
||||
"https://matrix-client.matrix.org": false
|
||||
},
|
||||
"terms_and_conditions_links": [
|
||||
{
|
||||
"url": "https://element.io/privacy",
|
||||
"text": "Privacy Policy"
|
||||
},
|
||||
{
|
||||
"url": "https://element.io/cookie-policy",
|
||||
"text": "Cookie Policy"
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"feature_video_rooms": true,
|
||||
"feature_rust_crypto": true
|
||||
},
|
||||
"element_call": {
|
||||
"url": "https://call.element.dev"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user