diff --git a/healthcheck.sh b/healthcheck.sh index 43eb2176..50263896 100644 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -1,3 +1,3 @@ #!/bin/sh -PORT=$(jq .port /.filebrowser.json) +PORT=${FB_PORT:-$(jq .port /.filebrowser.json)} curl -f http://localhost:$PORT/health || exit 1