change to static networks

This commit is contained in:
admin 2026-02-02 11:02:43 -07:00
parent 2451400300
commit efa0a25498

View file

@ -15,8 +15,8 @@ services:
# Updated path to match your new 'infrastructure' folder structure # Updated path to match your new 'infrastructure' folder structure
- /docker/core/dns/config:/etc/dns - /docker/core/dns/config:/etc/dns
networks: networks:
- ${DNS_EXT_NETWORK} - dns_external
- ${DNS_INT_NETWORK} - dns_internal
labels: labels:
- "traefik.enable=${DNS_TRAEFIK_ENABLED}" - "traefik.enable=${DNS_TRAEFIK_ENABLED}"
- "traefik.docker.network=${DNS_EXT_NETWORK}" - "traefik.docker.network=${DNS_EXT_NETWORK}"
@ -27,9 +27,7 @@ services:
- "traefik.http.services.dns${DNS_NODE_ID}.loadbalancer.server.port=${DNS_TRAEFIK_PORT}" - "traefik.http.services.dns${DNS_NODE_ID}.loadbalancer.server.port=${DNS_TRAEFIK_PORT}"
networks: networks:
${DNS_EXT_NETWORK}: dns_external:
driver: bridge driver: bridge
name: ${DNS_EXT_NETWORK} dns_internal:
${DNS_INT_NETWORK}:
external: true external: true
name: ${DNS_INT_NETWORK}