diff --git a/docker-compose.base.yml b/docker-compose.base.yml index 475d15a..6de8e6d 100644 --- a/docker-compose.base.yml +++ b/docker-compose.base.yml @@ -19,7 +19,7 @@ services: max-size: "1024k" max-file: "2" healthcheck: - test: timeout 15 curl -f http://localhost:9503/system/healthcheck || bash -c 'kill -INT -1 && (sleep 5; kill -s 9 -1)' + test: timeout 15 curl -f http://localhost:9503/system/healthcheck || sh -c 'kill -INT -1 && (sleep 5; kill -s 9 -1)' interval: 60s timeout: 30s retries: 1 diff --git a/entrypoint.sh b/entrypoint.sh index 60fc295..74a8b80 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh docker-compose-wait \ && nice -n 20 php server.php -e=.env.docker --docker "$@" \ No newline at end of file