feat(traefik): allow exposure of dashboard via domain

This commit is contained in:
Bert-Jan Fikse 2026-01-22 14:01:23 +01:00
parent bce1daf5a6
commit 8e49b09fd6
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
5 changed files with 36 additions and 7 deletions

View file

@ -4,8 +4,10 @@ log:
{% if enable_dashboard %}
api:
dashboard: true
{% if not dashboard_domain %}
insecure: true
{% endif %}
{% endif %}
{% if enable_access_logs %}
accessLog:
@ -26,11 +28,9 @@ entryPoints:
address: ":443"
providers:
{% if traefik_mode == 'dmz' %}
file:
directory: /config
watch: true
{% endif %}
{% if traefik_mode == 'backend' %}
docker:
endpoint: "unix:///var/run/docker.sock"