Skip to content

Commit

Permalink
Fix: actually enable dashboard (#18)
Browse files Browse the repository at this point in the history
* Fix: actually enable dashboard

* Fix: fix labels
  • Loading branch information
till authored Jul 1, 2020
1 parent 0593af1 commit 2aef3e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
{% endif %}
networks:
- {{ traefik_docker_network }}
{% if not traefik_use_swarm and traefik_dashboard_enable %}
{% if not traefik_swarm_mode and traefik_dashboard_enable %}
labels:
{% for label in traefik_dashboard_labels %}
- {{ label }}
Expand All @@ -72,7 +72,7 @@ services:
placement:
constraints:
- node.role == manager
{% if traefik_dashboard_enable %}
{% if traefik_swarm_mode and traefik_dashboard_enable %}
labels:
{% for label in traefik_dashboard_labels %}
- {{ label }}
Expand Down
1 change: 1 addition & 0 deletions templates/traefik.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defaultEntryPoints = ["https","http"]
{% if traefik_dashboard_enable %}
[api]
entryPoint = "traefik"
dashboard = true
{% endif %}

[docker]
Expand Down

0 comments on commit 2aef3e8

Please sign in to comment.