mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 00:16:49 +00:00
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
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
# Mount the volume to store the certificates
|
# Mount the volume to store the certificates
|
||||||
- traefik-public-certificates:/certificates
|
- traefik-public-certificates:/certificates
|
||||||
|
# Mount the configuration file for Traefik
|
||||||
- /var/data/config/traefik/services.yml:/etc/traefik/services.yml:ro
|
- /var/data/config/traefik/services.yml:/etc/traefik/services.yml:ro
|
||||||
command:
|
command:
|
||||||
# Enable Docker in Traefik, so that it reads labels from Docker services
|
# Enable Docker in Traefik, so that it reads labels from Docker services
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ http:
|
|||||||
traefik-public-https:
|
traefik-public-https:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- https
|
- https
|
||||||
rule: Host(`coco.furyhawk.lol`)
|
rule: Host(`coco.cloudy.local`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- admin-auth@swarm
|
- admin-auth@swarm
|
||||||
tls:
|
tls:
|
||||||
|
|||||||
Reference in New Issue
Block a user