filebrowser/healthcheck.sh
2024-02-11 10:27:07 +02:00

4 lines
106 B
Bash

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