2023-07-23 05:07:15 +08:00
|
|
|
#!/bin/sh
|
2023-11-09 00:59:46 +08:00
|
|
|
PORT=${FB_PORT:-$(jq .port /.filebrowser.json)}
|
2024-01-30 17:37:17 +08:00
|
|
|
ADDRESS=${FB_ADDRESS:-$(jq .address /.filebrowser.json)}
|
|
|
|
ADDRESS=${ADDRESS:-localhost}
|
|
|
|
curl -f http://$ADDRESS:$PORT/health || exit 1
|