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