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

This commit is contained in:
2024-05-30 09:10:45 +08:00
parent f865ba6f16
commit a345319737
+3
View File
@@ -312,3 +312,6 @@ providers:
network: web
exposedByDefault: false
endpoint: "unix:///var/run/docker.sock"
swarm:
# docker swarm mode (1.12+)
endpoint: "tcp://127.0.0.1:2377"