filebrowser/healthcheck.sh

4 lines
106 B
Bash

#!/bin/sh
PORT=${FB_PORT:-$(jq .port /.filebrowser.json)}
curl -f http://localhost:$PORT/health || exit 1