This commit is contained in:
Daniil Gentili 2024-05-23 18:32:21 +02:00
parent e20ce3d953
commit 68ecec704d
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ services:
max-size: "1024k" max-size: "1024k"
max-file: "2" max-file: "2"
healthcheck: 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 interval: 60s
timeout: 30s timeout: 30s
retries: 1 retries: 1

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env sh
docker-compose-wait \ docker-compose-wait \
&& nice -n 20 php server.php -e=.env.docker --docker "$@" && nice -n 20 php server.php -e=.env.docker --docker "$@"