feat(traefik): allow exposure of dashboard via domain
This commit is contained in:
parent
bce1daf5a6
commit
54be7db71e
4 changed files with 20 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue