Finished final raw draft of central database implementation. UNTESTED.

This commit is contained in:
2024-01-03 11:38:09 +01:00
parent 884b9370bb
commit 509914fb86
29 changed files with 159 additions and 176 deletions

View File

@@ -1,7 +1,9 @@
version: '3.1'
services:
{% include 'templates/docker-service-{{ database_type }}.yml.j2' %}
synapse:
image: matrixdotorg/synapse:latest
restart: always
@@ -16,11 +18,8 @@ services:
- SYNAPSE_REPORT_STATS=no
ports:
- "127.0.0.1:{{synapse_http_port}}:8008"
{% if not enable_central_database %}
depends_on:
- database
{% include 'templates/docker-service-{{ database_type }}.yml.j2' %}
{% endif %}
{% include 'templates/docker-container-depends-on-just-database.yml.j2' %}
{% include 'templates/docker-container-networks.yml.j2' %}
element:
image: vectorim/element-web:latest
@@ -29,6 +28,7 @@ services:
- ./element-config.json:/app/config.json
ports:
- "127.0.0.1:{{element_http_port}}:80"
{% include 'templates/docker-container-networks.yml.j2' %}
# bridges
#mautrix-telegram:
@@ -64,4 +64,6 @@ services:
#telegram_bridge_data:
#whatsapp_bridge_data:
#facebook_bridge_data:
#instagram_bridge_data:
#instagram_bridge_data:
{% include 'templates/docker-compose-networks.yml.j2' %}