use 127.0.0.1 for healthcheck instead of localhost
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2020-05-05 17:52:44 +02:00
parent d0892afd84
commit a8608644e8
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
* INTERNAL
* simplify repo structure and ci
* use 127.0.0.1 for healthcheck instead of localhost

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh
(php -r "readfile('http://localhost:8080/i/');" | grep -q 'jsonVars') || exit 1
(php -r "readfile('http://127.0.0.1:8080/i/');" | grep -q 'jsonVars') || exit 1