Refactor traefik.yml to add swarm endpoint for Docker swarm mode

This commit is contained in:
2024-05-30 10:16:50 +08:00
parent 10676c0754
commit a1112357b8
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -312,6 +312,7 @@ providers:
network: web
exposedByDefault: false
endpoint: "unix:///var/run/docker.sock"
# swarm:
# # docker swarm mode (1.12+)
# endpoint: "tcp://127.0.0.1:2377"
swarm:
# network: overwatch
exposedByDefault: false
endpoint: "unix:///var/run/docker.sock"