change to static networks
This commit is contained in:
parent
2451400300
commit
efa0a25498
1 changed files with 4 additions and 6 deletions
|
|
@ -15,8 +15,8 @@ services:
|
|||
# Updated path to match your new 'infrastructure' folder structure
|
||||
- /docker/core/dns/config:/etc/dns
|
||||
networks:
|
||||
- ${DNS_EXT_NETWORK}
|
||||
- ${DNS_INT_NETWORK}
|
||||
- dns_external
|
||||
- dns_internal
|
||||
labels:
|
||||
- "traefik.enable=${DNS_TRAEFIK_ENABLED}"
|
||||
- "traefik.docker.network=${DNS_EXT_NETWORK}"
|
||||
|
|
@ -27,9 +27,7 @@ services:
|
|||
- "traefik.http.services.dns${DNS_NODE_ID}.loadbalancer.server.port=${DNS_TRAEFIK_PORT}"
|
||||
|
||||
networks:
|
||||
${DNS_EXT_NETWORK}:
|
||||
dns_external:
|
||||
driver: bridge
|
||||
name: ${DNS_EXT_NETWORK}
|
||||
${DNS_INT_NETWORK}:
|
||||
dns_internal:
|
||||
external: true
|
||||
name: ${DNS_INT_NETWORK}
|
||||
|
|
|
|||
Loading…
Reference in a new issue