forked from tsai/budibase
2 changed files with 5 additions and 1 deletions
@ -1,6 +1,10 @@ |
|||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||
healthy=true |
healthy=true |
||||
|
|
||||
|
if [ -f "/data/.env" ]; then |
||||
|
export $(cat /data/.env | xargs) |
||||
|
fi |
||||
|
|
||||
if [[ $(curl -Lfk -s -w "%{http_code}\n" http://localhost/ -o /dev/null) -ne 200 ]]; then |
if [[ $(curl -Lfk -s -w "%{http_code}\n" http://localhost/ -o /dev/null) -ne 200 ]]; then |
||||
echo 'ERROR: Budibase is not running'; |
echo 'ERROR: Budibase is not running'; |
||||
healthy=false |
healthy=false |
||||
Loading…
Reference in new issue