Refactor swarm configuration: Update Traefik network labels from 'traefik.docker.network' to 'traefik.swarm.network' across multiple service files

This commit is contained in:
2024-12-28 17:31:54 +08:00
parent 955b4dab13
commit 52ec39de79
28 changed files with 50 additions and 49 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ services:
# Enable Traefik for this service, to make it available in the public network
- traefik.enable=true
# Use the traefik-public network (declared below)
- traefik.docker.network=traefik-public
- traefik.swarm.network=traefik-public
# Use the custom label "traefik.constraint-label=traefik-public"
# This public Traefik will only use services with this label
# That way you can add other internal Traefik instances per stack if needed