diff --git a/docker-compose-mysql.yml b/docker-compose-mysql.yml index 7b068d9..b863bb6 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 ae0f325..e556482 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: