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