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
@@ -7,7 +7,7 @@ metadata:
labels:
io.kompose.service: api-server
traefik.constraint-label: traefik-public
traefik.docker.network: traefik-public
traefik.swarm.network: traefik-public
traefik.enable: "true"
traefik.http.routers.api_server.entrypoints: https
traefik.http.routers.api_server.rule: Host(`api.`)