From 358695977fd3caf48d8d4ee4ace816ce1f67c4d9 Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Sat, 20 Aug 2022 18:21:52 +0100 Subject: [PATCH] Docker compose glitches --- 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