Element config
This commit is contained in:
15
README.md
15
README.md
@@ -3,15 +3,8 @@
|
||||
Matrix Application Service for Okupa mi coche
|
||||
|
||||
## Launch Element with dev profile
|
||||
|
||||
1. Put this text in `.config/Element-omc-dev/config.json`:
|
||||
|
||||
```
|
||||
{
|
||||
"showLabsSettings": true,
|
||||
"dangerously_allow_unsafe_and_insecure_passwords": true
|
||||
}
|
||||
```
|
||||
|
||||
2. Launch new Element instance with `element-desktop --profile omc-dev`
|
||||
1. Copy `docker/element/config.json` to `~/.config/Element-omc-dev/config.json`.
|
||||
2. Launch new Element instance with `element-desktop --profile omc-dev`.
|
||||
3. Send `/devtools` to any Element room. Enable `Developer mode` and `Show hidden events in timeline`.
|
||||
|
||||
- Homeserver: `http://okupamicoche-synapse:8008`
|
||||
|
||||
46
docker/element/config.json
Normal file
46
docker/element/config.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"brand": "Okupamicoche",
|
||||
"branding": {
|
||||
"authFooterLinks": null,
|
||||
"authHeaderLogoUrl": "welcome/images/logo.svg",
|
||||
"welcomeBackgroundUrl": null
|
||||
},
|
||||
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "http://okupamicoche-synapse:8008",
|
||||
"server_name": "okupamicoche"
|
||||
},
|
||||
"m.identity_server": {
|
||||
"base_url": ""
|
||||
}
|
||||
},
|
||||
"default_theme": "light",
|
||||
"disable_custom_urls": true,
|
||||
"disable_guests": true,
|
||||
"embeddedPages": {
|
||||
"homeUrl": ""
|
||||
},
|
||||
"enable_presence_by_hs_url": "\n",
|
||||
"integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
|
||||
"integrations_rest_url": "https://scalar.vector.im/api",
|
||||
"integrations_ui_url": "https://scalar.vector.im/",
|
||||
"integrations_widgets_urls": [
|
||||
"https://scalar.vector.im/api"
|
||||
],
|
||||
"jitsi": {
|
||||
"preferredDomain": "meet.fosil.eu"
|
||||
},
|
||||
"permalinkPrefix": "https://matrix.to",
|
||||
"roomDirectory": {
|
||||
"servers": [
|
||||
"matrix.org"
|
||||
]
|
||||
},
|
||||
"settingDefaults": {
|
||||
"custom_themes": []
|
||||
},
|
||||
"showLabsSettings": true,
|
||||
"welcomeUserId": null,
|
||||
"dangerously_allow_unsafe_and_insecure_passwords": true
|
||||
}
|
||||
@@ -24,3 +24,4 @@ suppress_key_server_warning: true
|
||||
enable_registration: true
|
||||
app_service_config_files:
|
||||
- /config/okupamicoche-appservice.yaml
|
||||
enable_registration_without_verification: true
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
SYNAPSE_SERVER_NAME: "okupamicoche-synapse"
|
||||
SYNAPSE_REPORT_STATS: "no"
|
||||
SYNAPSE_CONFIG_DIR: "/config"
|
||||
GUI: 1000
|
||||
UID: 1000
|
||||
GUI: 1002
|
||||
UID: 1002
|
||||
ports:
|
||||
- "8008:8008"
|
||||
|
||||
Reference in New Issue
Block a user