feat: add dashboard infos

This commit is contained in:
Lennard Brinkhaus 2023-09-18 19:16:27 +02:00
parent 5d90c8b905
commit 0ae3be7c42
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
4 changed files with 9 additions and 1 deletions

View File

@ -3,3 +3,5 @@ traefik_version_check: true
traefik_version: "v2.10.4"
traefik_yaml_acme_email: ""
traefik_dashboard: true
traefik_dashboard_url: ""

View File

@ -28,6 +28,11 @@ AddCapability=net_bind_service
#SecurityLabelDisable=true
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]
Restart=on-failure
# Restart Delay

View File

@ -20,7 +20,7 @@ providers:
# API and dashboard configuration
api:
# insecure: true
dashboard: true
dashboard: {{ traefik_dashboard }}
certificatesResolvers:
resolver:

View File

@ -5,3 +5,4 @@
- role-traefik
vars:
traefik_yaml_acme_email: "test@localhost.intern"
traefik_dashboard_url: "test.intern"