From 80dc8b3cff2b6ac3fce201178f41321f27e6ea37 Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Tue, 13 Sep 2022 12:03:40 +0100 Subject: [PATCH] Fixed docker-compose depends_on mappings --- docker-compose-mysql.yml | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose-mysql.yml b/docker-compose-mysql.yml index b863bb6..7b068d9 100644 --- a/docker-compose-mysql.yml +++ b/docker-compose-mysql.yml @@ -25,7 +25,7 @@ services: networks: - frontend depends_on: - app: + - app command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" app: diff --git a/docker-compose.yml b/docker-compose.yml index e556482..f67c37e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: networks: - frontend depends_on: - app: + - app command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" app: @@ -43,7 +43,7 @@ services: - frontend - backend depends_on: - postfix: + - postfix postfix: container_name: reftest_postfix