filebrowser/healthcheck.sh
2023-12-22 14:50:11 +02:00

4 lines
106 B
Bash

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