Implemented vars, tasks and templates for central database setup until mastodon role

This commit is contained in:
2024-01-02 21:13:34 +01:00
parent 4e09fbd3fb
commit ab7ca07ac9
76 changed files with 431 additions and 467 deletions

View File

@@ -19,7 +19,7 @@ services:
{% if not enable_central_database %}
depends_on:
- database
{% include 'templates/docker-postgres-service.yml.j2' %}
{% include 'templates/docker-{{ database_type }}-service.yml.j2' %}
{% endif %}
element:
@@ -60,14 +60,9 @@ services:
# - instagram_bridge_data:/data
volumes:
{% if not enable_central_database %}
database:
{% endif %}
{% include 'templates/docker-database-volume.yml.j2' %}
synapse_data:
#telegram_bridge_data:
#whatsapp_bridge_data:
#facebook_bridge_data:
#instagram_bridge_data:
networks:
default:
driver: bridge
#instagram_bridge_data: