Rename network
This commit is contained in:
@@ -3,8 +3,8 @@ services:
|
||||
image: traefik:v3.6
|
||||
|
||||
networks:
|
||||
# Connect to the 'traefik_proxy' overlay network for inter-container communication across nodes
|
||||
- traefik_proxy
|
||||
# Connect to the 'proxy' overlay network for inter-container communication across nodes
|
||||
- proxy
|
||||
|
||||
ports:
|
||||
# Expose Traefik's entry points to the Swarm
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
whoami:
|
||||
image: traefik/whoami
|
||||
networks:
|
||||
- traefik_proxy
|
||||
- proxy
|
||||
deploy:
|
||||
labels:
|
||||
# Enable Service discovery for Traefik
|
||||
@@ -137,6 +137,6 @@ services:
|
||||
|
||||
# Define the overlay network for Swarm
|
||||
networks:
|
||||
traefik_proxy:
|
||||
proxy:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
|
||||
Reference in New Issue
Block a user