Solved default network bug

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-05 21:05:52 +01:00
parent d6fe811498
commit fdfe9dee78
2 changed files with 1 additions and 5 deletions

View File

@ -12,7 +12,6 @@ services:
env_file: mailu.env
restart: always
{% include 'templates/docker-container-networks.yml.j2' %}
default:
ipv4_address: 192.168.203.254
logging:
driver: journald
@ -39,7 +38,6 @@ services:
resolver:
condition: service_started
{% include 'templates/docker-container-networks.yml.j2' %}
default:
webmail:
radicale:
dns:
@ -124,7 +122,6 @@ services:
logging:
driver: journald
{% include 'templates/docker-container-networks.yml.j2' %}
default:
noinet:
@ -204,7 +201,6 @@ services:
redis:
{% include 'templates/docker-compose-networks.yml.j2' %}
default:
driver: bridge
ipam:
driver: default

View File

@ -1,7 +1,7 @@
# This template needs to be included in docker-compose.yml containers
networks:
default:
{% if enable_central_database | bool %}
central_{{ database_type }}:
{% endif %}
default:
{{ "\n" }}