diff --git a/backend/ew.test.othersite.config.json b/backend/ew.test.othersite.config.json new file mode 100644 index 00000000..2ad3df4f --- /dev/null +++ b/backend/ew.test.othersite.config.json @@ -0,0 +1,53 @@ +{ + "default_server_config": { + "m.homeserver": { + "base_url": "https://synapse.othersite.m.localhost", + "server_name": "synapse.othersite.m.localhost" + } + }, + "disable_custom_urls": false, + "disable_guests": false, + "disable_login_language_selector": false, + "disable_3pid_login": false, + "force_verification": 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" + ], + "default_widget_container_height": 280, + "default_country_code": "GB", + "show_labs_settings": false, + "features": { + "feature_element_call_video_rooms": true, + "feature_video_rooms": true, + "feature_group_calls": true, + "feature_release_announcement": false + }, + "default_federate": true, + "default_theme": "light", + "room_directory": { + "servers": ["matrix.org"] + }, + "enable_presence_by_hs_url": { + "https://matrix.org": false, + "https://matrix-client.matrix.org": false + }, + "setting_defaults": { + "breadcrumbs": true, + "feature_group_calls": true + }, + "jitsi": { + "preferred_domain": "meet.element.io" + }, + "element_call": { + "participant_limit": 8, + "brand": "Element Call" + }, + "map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx" +} diff --git a/dev-backend-docker-compose.yml b/dev-backend-docker-compose.yml index 335534a1..50498c7a 100644 --- a/dev-backend-docker-compose.yml +++ b/dev-backend-docker-compose.yml @@ -134,6 +134,19 @@ services: networks: - ecbackend + element-web-1: + image: ghcr.io/element-hq/element-web:develop + pull_policy: always + volumes: + - ./backend/ew.test.othersite.config.json:/app/config.json:Z + environment: + ELEMENT_WEB_PORT: 18081 + ports: + # HOST_PORT:CONTAINER_PORT + - "18081:18081" + networks: + - ecbackend + nginx: # see backend/dev_tls_setup for how to generate the tls certs hostname: synapse.m.localhost @@ -156,4 +169,7 @@ services: networks: ecbackend: aliases: + - synapse.m.localhost + - synapse.othersite.m.localhost - matrix-rtc.m.localhost + - matrix-rtc.othersite.m.localhost