Element Web #19
8
element-web/README.md
Normal file
8
element-web/README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Configuration
|
||||
|
||||
```shell
|
||||
cp config/config.json.dist config/config.json
|
||||
```
|
||||
|
||||
Then edit your config.json according to your needs. See
|
||||
[this](https://github.com/vector-im/element-web/blob/develop/docs/config.md) for more info.
|
54
element-web/config/config.json.dist
Normal file
54
element-web/config/config.json.dist
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "https://matrix-client.matrix.org",
|
||||
"server_name": "matrix.org"
|
||||
},
|
||||
"m.identity_server": {
|
||||
"base_url": "https://vector.im"
|
||||
}
|
||||
},
|
||||
"disable_custom_urls": false,
|
||||
"disable_guests": false,
|
||||
"disable_login_language_selector": false,
|
||||
"disable_3pid_login": false,
|
||||
"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",
|
||||
"defaultCountryCode": "GB",
|
||||
"showLabsSettings": false,
|
||||
"features": { },
|
||||
"default_federate": true,
|
||||
"default_theme": "light",
|
||||
"roomDirectory": {
|
||||
"servers": [
|
||||
"matrix.org"
|
||||
]
|
||||
},
|
||||
"piwik": {
|
||||
"url": "https://piwik.riot.im/",
|
||||
"whitelistedHSUrls": ["https://matrix.org"],
|
||||
"whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
|
||||
"siteId": 1
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"https://matrix.org": false,
|
||||
"https://matrix-client.matrix.org": false
|
||||
},
|
||||
"settingDefaults": {
|
||||
"breadcrumbs": true
|
||||
},
|
||||
"jitsi": {
|
||||
"preferredDomain": "meet.element.io"
|
||||
},
|
||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||
}
|
|
@ -5,8 +5,8 @@ services:
|
|||
element-web:
|
||||
image: vectorim/element-web
|
||||
container_name: element-web
|
||||
#volumes:
|
||||
# - "./config/config.json:/app/config.json"
|
||||
volumes:
|
||||
- "./config/config.json:/app/config.json"
|
||||
ports:
|
||||
- "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT}:80"
|
||||
env_file: .env
|
||||
|
|
Loading…
Reference in a new issue