Skip to content

Commit

Permalink
Fix issue with 2 depends_on in same yaml section (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbrose authored Mar 3, 2024
1 parent 8b470f3 commit 0ecbedb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,16 @@ services:
- /etc/localtime:/etc/localtime:ro
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
depends_on:
- prometheus
ports:
- 3030:3000
env_file:
- ./grafana/config.monitoring
networks:
- back-tier
- front-tier
{% if domain_name_enable and domain_name and domain_grafana %}
depends_on:
- prometheus
{% if domain_name_enable and domain_name and domain_grafana %}
- nginx-proxy
environment:
- VIRTUAL_HOST={{ domain_grafana }}.{{ domain_name }}
Expand Down

0 comments on commit 0ecbedb

Please sign in to comment.