Element web
This commit is contained in:
parent
ff766e2383
commit
71674bdece
6 changed files with 271 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ Label="traefik.http.routers.conduwuit-testing.middlewares=default@file"
|
|||
|
||||
Label="homepage.group=Public"
|
||||
Label="homepage.name=Conduwuit (testing)"
|
||||
# Label="homepage.href=https://jade.pissing.dev/"
|
||||
Label="homepage.href=https://element.pissing.dev/"
|
||||
# https://github.com/girlbossceo/conduwuit/blob/032b199129f8648a77bde285f755a78e9ec349a7/src/api/client/unversioned.rs#L142
|
||||
# Endpoint provided by sliding sync proxy used by some clients such as Element Web as a non-standard health check.
|
||||
Label="homepage.siteMonitor=https://matrix.pissing.dev/client/server.json"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ Label="traefik.http.routers.conduwuit.middlewares=default@file"
|
|||
|
||||
Label="homepage.group=Public"
|
||||
Label="homepage.name=Conduwuit"
|
||||
# Label="homepage.href=https://jade.ellis.link/"
|
||||
Label="homepage.href=https://element.ellis.link/"
|
||||
# https://github.com/girlbossceo/conduwuit/blob/032b199129f8648a77bde285f755a78e9ec349a7/src/api/client/unversioned.rs#L142
|
||||
# Endpoint provided by sliding sync proxy used by some clients such as Element Web as a non-standard health check.
|
||||
Label="homepage.siteMonitor=https://matrix.ellis.link/client/server.json"
|
||||
|
|
|
|||
53
servers/containers/element-web.container
Normal file
53
servers/containers/element-web.container
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
|
||||
|
||||
[Unit]
|
||||
Description=Element Web (matrix)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
Documentation=https://github.com/element-hq/element-web/blob/develop/docs/install.md
|
||||
|
||||
[Container]
|
||||
ContainerName=element-web
|
||||
# NoNewPrivileges=true
|
||||
Image=docker.io/vectorim/element-web:latest
|
||||
# ReadOnly=true
|
||||
Volume=/etc/element-web/config.json:/app/config.json:ro,z
|
||||
Volume=/etc/element-web/config.element.ellis.link.json:/app/config.element.ellis.link.json:ro,z
|
||||
Volume=/etc/element-web/config.element.pissing.dev.json:/app/config.element.pissing.dev.json:ro,z
|
||||
AutoUpdate=registry
|
||||
|
||||
Label="traefik.enable=true"
|
||||
Label="traefik.http.routers.element-web.rule=(Host(`element.pissing.dev`) || Host(`element.ellis.link`))"
|
||||
Label="traefik.http.services.element-web.loadbalancer.server.port=80"
|
||||
|
||||
Label="traefik.http.routers.element-web.entrypoints=https"
|
||||
|
||||
Label="traefik.http.routers.element-web.tls.certresolver=letsencrypt"
|
||||
# Label="traefik.http.routers.element-web.tls.options=intermediate@file"
|
||||
|
||||
Label="traefik.http.routers.element-web.middlewares=default@file"
|
||||
|
||||
Label="homepage.group=Services"
|
||||
Label="homepage.name=Element Web"
|
||||
# Label="homepage.href=https://jade.pissing.dev/"
|
||||
# https://github.com/girlbossceo/conduwuit/blob/032b199129f8648a77bde285f755a78e9ec349a7/src/api/client/unversioned.rs#L142
|
||||
# Endpoint provided by sliding sync proxy used by some clients such as Element Web as a non-standard health check.
|
||||
# Label="homepage.siteMonitor=https://matrix.pissing.dev/client/server.json"
|
||||
Label="homepage.description=Element Web for matrix servers"
|
||||
|
||||
|
||||
StopTimeout=100
|
||||
|
||||
[Service]
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
TimeoutStopSec=2m
|
||||
TimeoutStartSec=2m
|
||||
|
||||
# StartLimitInterval=1m
|
||||
StartLimitBurst=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
72
servers/element-web/config.element.ellis.link.json
Normal file
72
servers/element-web/config.element.ellis.link.json
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"default_server_name": "ellis.link",
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "https://matrix.ellis.link/"
|
||||
},
|
||||
"org.matrix.msc3575.proxy": {
|
||||
"url": "https://matrix.ellis.link/"
|
||||
},
|
||||
"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": [
|
||||
"ellis.link",
|
||||
"pissing.dev",
|
||||
"matrix.org",
|
||||
"gitter.im",
|
||||
"libera.chat",
|
||||
"schildi.chat"
|
||||
]
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"https://matrix.org": false,
|
||||
"https://matrix-client.matrix.org": false,
|
||||
"https://matrix.ellis.link": true,
|
||||
"https://ellis.link": true,
|
||||
"https://matrix.pissing.dev": true,
|
||||
"https://pissing.dev": true
|
||||
},
|
||||
"terms_and_conditions_links": [
|
||||
{
|
||||
"url": "https://element.io/privacy",
|
||||
"text": "Privacy Policy (Element)"
|
||||
},
|
||||
{
|
||||
"url": "https://element.io/cookie-policy",
|
||||
"text": "Cookie Policy (Element)"
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"threadsActivityCentre": true,
|
||||
"feature_video_rooms": true,
|
||||
"feature_group_calls": true,
|
||||
"feature_element_call_video_rooms": true,
|
||||
"feature_latex_maths": true,
|
||||
"feature_bridge_state": true,
|
||||
"feature_render_reaction_images": true
|
||||
},
|
||||
"setting_defaults": {
|
||||
"RustCrypto.staged_rollout_percent": 100,
|
||||
"Registration.mobileRegistrationHelper": true
|
||||
},
|
||||
"element_call": {
|
||||
"url": "https://call.element.dev"
|
||||
},
|
||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||
}
|
||||
72
servers/element-web/config.element.pissing.dev.json
Normal file
72
servers/element-web/config.element.pissing.dev.json
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"default_server_name": "possing.dev",
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "https://matrix.pissing.dev/"
|
||||
},
|
||||
"org.matrix.msc3575.proxy": {
|
||||
"url": "https://matrix.pissing.dev/"
|
||||
},
|
||||
"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": [
|
||||
"ellis.link",
|
||||
"pissing.dev",
|
||||
"matrix.org",
|
||||
"gitter.im",
|
||||
"libera.chat",
|
||||
"schildi.chat"
|
||||
]
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"https://matrix.org": false,
|
||||
"https://matrix-client.matrix.org": false,
|
||||
"https://matrix.ellis.link": true,
|
||||
"https://ellis.link": true,
|
||||
"https://matrix.pissing.dev": true,
|
||||
"https://pissing.dev": true
|
||||
},
|
||||
"terms_and_conditions_links": [
|
||||
{
|
||||
"url": "https://element.io/privacy",
|
||||
"text": "Privacy Policy (Element)"
|
||||
},
|
||||
{
|
||||
"url": "https://element.io/cookie-policy",
|
||||
"text": "Cookie Policy (Element)"
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"threadsActivityCentre": true,
|
||||
"feature_video_rooms": true,
|
||||
"feature_group_calls": true,
|
||||
"feature_element_call_video_rooms": true,
|
||||
"feature_latex_maths": true,
|
||||
"feature_bridge_state": true,
|
||||
"feature_render_reaction_images": true
|
||||
},
|
||||
"setting_defaults": {
|
||||
"RustCrypto.staged_rollout_percent": 100,
|
||||
"Registration.mobileRegistrationHelper": true
|
||||
},
|
||||
"element_call": {
|
||||
"url": "https://call.element.dev"
|
||||
},
|
||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||
}
|
||||
72
servers/element-web/config.json
Normal file
72
servers/element-web/config.json
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"default_server_name": "ellis.link",
|
||||
"default_server_config": {
|
||||
"m.homeserver": {
|
||||
"base_url": "https://matrix.ellis.link/"
|
||||
},
|
||||
"org.matrix.msc3575.proxy": {
|
||||
"url": "https://matrix.ellis.link/"
|
||||
},
|
||||
"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": [
|
||||
"ellis.link",
|
||||
"pissing.dev",
|
||||
"matrix.org",
|
||||
"gitter.im",
|
||||
"libera.chat",
|
||||
"schildi.chat"
|
||||
]
|
||||
},
|
||||
"enable_presence_by_hs_url": {
|
||||
"https://matrix.org": false,
|
||||
"https://matrix-client.matrix.org": false,
|
||||
"https://matrix.ellis.link": true,
|
||||
"https://ellis.link": true,
|
||||
"https://matrix.pissing.dev": true,
|
||||
"https://pissing.dev": true
|
||||
},
|
||||
"terms_and_conditions_links": [
|
||||
{
|
||||
"url": "https://element.io/privacy",
|
||||
"text": "Privacy Policy (Element)"
|
||||
},
|
||||
{
|
||||
"url": "https://element.io/cookie-policy",
|
||||
"text": "Cookie Policy (Element)"
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"threadsActivityCentre": true,
|
||||
"feature_video_rooms": true,
|
||||
"feature_group_calls": true,
|
||||
"feature_element_call_video_rooms": true,
|
||||
"feature_latex_maths": true,
|
||||
"feature_bridge_state": true,
|
||||
"feature_render_reaction_images": true
|
||||
},
|
||||
"setting_defaults": {
|
||||
"RustCrypto.staged_rollout_percent": 100,
|
||||
"Registration.mobileRegistrationHelper": true
|
||||
},
|
||||
"element_call": {
|
||||
"url": "https://call.element.dev"
|
||||
},
|
||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue