Skip to content

Commit 0ecbedb

Browse files
authored
Fix issue with 2 depends_on in same yaml section (#583)
1 parent 8b470f3 commit 0ecbedb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

templates/docker-compose.yml.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,16 @@ services:
6262
- /etc/localtime:/etc/localtime:ro
6363
- grafana_data:/var/lib/grafana
6464
- ./grafana/provisioning/:/etc/grafana/provisioning/
65-
depends_on:
66-
- prometheus
6765
ports:
6866
- 3030:3000
6967
env_file:
7068
- ./grafana/config.monitoring
7169
networks:
7270
- back-tier
7371
- front-tier
74-
{% if domain_name_enable and domain_name and domain_grafana %}
7572
depends_on:
73+
- prometheus
74+
{% if domain_name_enable and domain_name and domain_grafana %}
7675
- nginx-proxy
7776
environment:
7877
- VIRTUAL_HOST={{ domain_grafana }}.{{ domain_name }}

0 commit comments

Comments
 (0)