From bac1be9c93722f480ce960da3518d40fb568b1f1 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 4 Jan 2024 09:47:14 +0100 Subject: [PATCH] Removed network formatation bug --- roles/docker-mailu/templates/docker-compose.yml.j2 | 3 +-- templates/docker-container-networks.yml.j2 | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/docker-mailu/templates/docker-compose.yml.j2 b/roles/docker-mailu/templates/docker-compose.yml.j2 index 25b5cbb8..6800d478 100644 --- a/roles/docker-mailu/templates/docker-compose.yml.j2 +++ b/roles/docker-mailu/templates/docker-compose.yml.j2 @@ -149,13 +149,12 @@ services: - "webdav_data:/data" logging: driver: journald - networks: - - radicale depends_on: - resolver dns: - 192.168.203.254 {% include 'templates/docker-container-networks.yml.j2' %} + radicale: fetchmail: image: ghcr.io/mailu/fetchmail:{{version_mailu}} diff --git a/templates/docker-container-networks.yml.j2 b/templates/docker-container-networks.yml.j2 index 6d69a2e7..918e2bbd 100644 --- a/templates/docker-container-networks.yml.j2 +++ b/templates/docker-container-networks.yml.j2 @@ -1,6 +1,6 @@ # This template needs to be included in docker-compose.yml containers networks: - - {{docker_compose_project_name}}_network + {{docker_compose_project_name}}_network: {% if enable_central_database | bool %} - - central_{{ database_type }}_network + central_{{ database_type }}_network: {% endif %} \ No newline at end of file