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

View File

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