refactor: Mount the configuration file for Traefik in the Swarm service

This commit is contained in:
2024-09-04 09:34:51 +08:00
parent 26e72dd3f1
commit cc771e0b13
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -90,6 +90,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
# Mount the volume to store the certificates
- traefik-public-certificates:/certificates
# Mount the configuration file for Traefik
- /var/data/config/traefik/services.yml:/etc/traefik/services.yml:ro
command:
# Enable Docker in Traefik, so that it reads labels from Docker services
+1 -1
View File
@@ -3,7 +3,7 @@ http:
traefik-public-https:
entryPoints:
- https
rule: Host(`coco.furyhawk.lol`)
rule: Host(`coco.cloudy.local`)
middlewares:
- admin-auth@swarm
tls: