Upgrade Dockerfile
This commit is contained in:
12
docker/php/docker-healthcheck.sh
Normal file
12
docker/php/docker-healthcheck.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
export SCRIPT_NAME=/ping
|
||||
export SCRIPT_FILENAME=/ping
|
||||
export REQUEST_METHOD=GET
|
||||
|
||||
if cgi-fcgi -bind -connect 127.0.0.1:9000; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user