refactor: Mount the configuration file for Traefik in the Swarm service
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user