Comment network config as it isn't overriden in compose.override.yml (but added)

This commit is contained in:
thopic 2024-02-14 12:11:01 +01:00
parent 0817b2b716
commit acd41e2b92
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -393,11 +393,11 @@ services:
# ports: # ports:
# - "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}" # - "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}"
# - "${HTTP_BIND:-0.0.0.0}:${HTTP_PORT:-80}:${HTTP_PORT:-80}" # - "${HTTP_BIND:-0.0.0.0}:${HTTP_PORT:-80}:${HTTP_PORT:-80}"
restart: always # restart: always
networks: # networks:
mailcow-network: # mailcow-network:
aliases: # aliases:
- nginx # - nginx
acme-mailcow: acme-mailcow:
depends_on: depends_on:
@ -639,17 +639,17 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- /lib/modules:/lib/modules:ro - /lib/modules:/lib/modules:ro
networks: #networks:
mailcow-network: # mailcow-network:
driver: bridge # driver: bridge
driver_opts: # driver_opts:
com.docker.network.bridge.name: br-mailcow # com.docker.network.bridge.name: br-mailcow
enable_ipv6: true # enable_ipv6: true
ipam: # ipam:
driver: default # driver: default
config: # config:
- subnet: ${IPV4_NETWORK:-172.22.1}.0/24 # - subnet: ${IPV4_NETWORK:-172.22.1}.0/24
- subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64} # - subnet: ${IPV6_NETWORK:-fd4d:6169:6c63:6f77::/64}
volumes: volumes:
vmail-vol-1: vmail-vol-1: