feat: add dashboard infos
This commit is contained in:
parent
5d90c8b905
commit
0ae3be7c42
@ -3,3 +3,5 @@ traefik_version_check: true
|
|||||||
traefik_version: "v2.10.4"
|
traefik_version: "v2.10.4"
|
||||||
|
|
||||||
traefik_yaml_acme_email: ""
|
traefik_yaml_acme_email: ""
|
||||||
|
traefik_dashboard: true
|
||||||
|
traefik_dashboard_url: ""
|
||||||
|
@ -28,6 +28,11 @@ AddCapability=net_bind_service
|
|||||||
#SecurityLabelDisable=true
|
#SecurityLabelDisable=true
|
||||||
PodmanArgs=--userns=keep-id --security-opt label=disable
|
PodmanArgs=--userns=keep-id --security-opt label=disable
|
||||||
|
|
||||||
|
Label="traefik.http.routers.dashboard.tls.certresolver=resolver"
|
||||||
|
Label="traefik.http.routers.dashboard.tls=true"
|
||||||
|
Label="traefik.http.routers.dashboard.rule=Host(`{{ traefik_dashboard_url }}`)"
|
||||||
|
Label="traefik.http.routers.dashboard.service=api@internal"
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
# Restart Delay
|
# Restart Delay
|
||||||
|
@ -20,7 +20,7 @@ providers:
|
|||||||
# API and dashboard configuration
|
# API and dashboard configuration
|
||||||
api:
|
api:
|
||||||
# insecure: true
|
# insecure: true
|
||||||
dashboard: true
|
dashboard: {{ traefik_dashboard }}
|
||||||
|
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
resolver:
|
resolver:
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
- role-traefik
|
- role-traefik
|
||||||
vars:
|
vars:
|
||||||
traefik_yaml_acme_email: "test@localhost.intern"
|
traefik_yaml_acme_email: "test@localhost.intern"
|
||||||
|
traefik_dashboard_url: "test.intern"
|
||||||
|
Loading…
Reference in New Issue
Block a user