Add Traefik dashboard toggle
This commit is contained in:
parent
d851c852d6
commit
8654778724
@ -2,6 +2,7 @@
|
|||||||
docker_user: vagrant
|
docker_user: vagrant
|
||||||
|
|
||||||
# traefik
|
# traefik
|
||||||
|
traefik_dashboard: true
|
||||||
traefik_domain: traefik.vm.krislamo.org
|
traefik_domain: traefik.vm.krislamo.org
|
||||||
traefik_auth: admin:$apr1$T1l.BCFz$Jyg8msXYEAUi3LLH39I9d1 # admin:admin
|
traefik_auth: admin:$apr1$T1l.BCFz$Jyg8msXYEAUi3LLH39I9d1 # admin:admin
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
traefik_name: traefik
|
traefik_name: traefik
|
||||||
traefik_version: latest
|
traefik_version: latest
|
||||||
|
traefik_dashboard: false
|
||||||
traefik_options:
|
traefik_options:
|
||||||
- "--entrypoints.web.address=:80"
|
- "--entrypoints.web.address=:80"
|
||||||
- "--api.dashboard=true"
|
- "--api.dashboard=true"
|
||||||
|
@ -25,6 +25,6 @@
|
|||||||
traefik.http.routers.traefik.middlewares: "auth@docker"
|
traefik.http.routers.traefik.middlewares: "auth@docker"
|
||||||
traefik.http.routers.traefik.service: "api@internal"
|
traefik.http.routers.traefik.service: "api@internal"
|
||||||
traefik.docker.network: traefik
|
traefik.docker.network: traefik
|
||||||
traefik.enable: "true"
|
traefik.enable: "{{ traefik_dashboard | string }}"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user