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
+5 -5
View File
@@ -7,7 +7,7 @@ services:
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.swarm.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.cyberchef.entrypoints=https
- traefik.http.routers.cyberchef.rule=Host(`cook.${DOMAIN}`)
@@ -36,7 +36,7 @@ services:
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.swarm.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.librespeed.entrypoints=https
- traefik.http.routers.librespeed.rule=Host(`speed.${DOMAIN}`) || Host(`speedtest.${DOMAIN}`)
@@ -57,7 +57,7 @@ services:
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.swarm.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.linx.entrypoints=https
- traefik.http.routers.linx.rule=Host(`linx.${DOMAIN}`)
@@ -79,7 +79,7 @@ services:
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.swarm.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.wetty.entrypoints=https
- traefik.http.routers.wetty.rule=Host(`terminal.${DOMAIN}`)
@@ -95,7 +95,7 @@ services:
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.swarm.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.whisper_web.entrypoints=https
- traefik.http.routers.whisper_web.rule=Host(`whisper.${DOMAIN}`)