mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
6 lines
192 B
Bash
6 lines
192 B
Bash
#!/bin/sh
|
|
PORT=${FB_PORT:-$(jq .port /.filebrowser.json)}
|
|
ADDRESS=${FB_ADDRESS:-$(jq .address /.filebrowser.json)}
|
|
ADDRESS=${ADDRESS:-localhost}
|
|
curl -f http://$ADDRESS:$PORT/health || exit 1
|