From 0ecbedbbdf35238fb9c412e6d0ea3f596da87005 Mon Sep 17 00:00:00 2001 From: Martin Brose <13284268+martinbrose@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:43:35 +0000 Subject: [PATCH] Fix issue with 2 depends_on in same yaml section (#583) --- templates/docker-compose.yml.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 4ecf9765..d44d0fb1 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -62,8 +62,6 @@ services: - /etc/localtime:/etc/localtime:ro - grafana_data:/var/lib/grafana - ./grafana/provisioning/:/etc/grafana/provisioning/ - depends_on: - - prometheus ports: - 3030:3000 env_file: @@ -71,8 +69,9 @@ services: 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 }}