Element config

This commit is contained in:
2022-04-16 21:35:12 +02:00
parent e37e764c2a
commit caf551c1be
4 changed files with 53 additions and 13 deletions

View File

@@ -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`

View 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
}

View File

@@ -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

View File

@@ -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"