filebrowser/healthcheck.sh

4 lines
94 B
Bash

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