update elementweb, do not yet deploy redis
This commit is contained in:
parent
f42e2adfae
commit
e39fa6b779
3 changed files with 59 additions and 8 deletions
|
@ -35,14 +35,14 @@ runa:
|
||||||
- synapse
|
- synapse
|
||||||
# 10.165.66.60
|
# 10.165.66.60
|
||||||
mtx-redis-1.lat.internal.ru.com:
|
mtx-redis-1.lat.internal.ru.com:
|
||||||
docker_compose:
|
# docker_compose:
|
||||||
- redis
|
# - redis
|
||||||
# 10.165.66.61
|
# 10.165.66.61
|
||||||
mtx-redis-2.lat.internal.ru.com:
|
mtx-redis-2.lat.internal.ru.com:
|
||||||
docker_compose:
|
# docker_compose:
|
||||||
- redis
|
# - redis
|
||||||
# 10.165.66.62
|
# 10.165.66.62
|
||||||
mtx-redis-3.lat.internal.ru.com:
|
mtx-redis-3.lat.internal.ru.com:
|
||||||
docker_compose:
|
# docker_compose:
|
||||||
- redis
|
# - redis
|
||||||
# 10.165.66.63
|
# 10.165.66.63
|
||||||
|
|
52
ansible/roles/docker-compose/files/elementweb/config.json
Executable file
52
ansible/roles/docker-compose/files/elementweb/config.json
Executable file
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
"default_server_config": {
|
||||||
|
"m.homeserver": {
|
||||||
|
"base_url": "https://synapse.corp-apps.com",
|
||||||
|
"server_name": "corp-serv.net"
|
||||||
|
},
|
||||||
|
"m.identity_server": {
|
||||||
|
"base_url": "https://vector.im"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"disable_custom_urls": false,
|
||||||
|
"disable_guests": true,
|
||||||
|
"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"
|
||||||
|
],
|
||||||
|
"default_country_code": "GB",
|
||||||
|
"show_labs_settings": false,
|
||||||
|
"features": {},
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
"jitsi": {
|
||||||
|
"preferred_domain": "meet.element.io"
|
||||||
|
},
|
||||||
|
"element_call": {
|
||||||
|
"url": "https://call.element.io",
|
||||||
|
"participant_limit": 8,
|
||||||
|
"brand": "Element Call"
|
||||||
|
},
|
||||||
|
"sso_redirect_options": {
|
||||||
|
"immediate": true,
|
||||||
|
},
|
||||||
|
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||||
|
}
|
|
@ -9,8 +9,6 @@ services:
|
||||||
- ELEMENTWEB=${elementWebFQDN}
|
- ELEMENTWEB=${elementWebFQDN}
|
||||||
#volumes:
|
#volumes:
|
||||||
# - ./element/config.json.sh:/app/config.json.sh
|
# - ./element/config.json.sh:/app/config.json.sh
|
||||||
#command: sh -c "/app/config.json.sh && nginx -g 'daemon off;'"
|
|
||||||
#entrypoint: /app/config.json.sh
|
|
||||||
ports:
|
ports:
|
||||||
- "8008:80/tcp"
|
- "8008:80/tcp"
|
||||||
|
|
||||||
|
@ -23,3 +21,4 @@ services:
|
||||||
- ./nginx:/etc/nginx/conf.d
|
- ./nginx:/etc/nginx/conf.d
|
||||||
- /ssl:/ssl
|
- /ssl:/ssl
|
||||||
- /www:/www
|
- /www:/www
|
||||||
|
- ./config.json:/app/config.json
|
||||||
|
|
Loading…
Add table
Reference in a new issue