feat: add a healthcheck script that works with a dynamic port (#2510)
This commit is contained in:
3
healthcheck.sh
Normal file
3
healthcheck.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
PORT=$(jq .port /.filebrowser.json)
|
||||
curl -f http://localhost:$PORT/health || exit 1
|
||||
Reference in New Issue
Block a user