mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
8 lines
195 B
Bash
Executable File
8 lines
195 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euf -o pipefail
|
|
|
|
HEALTHY="$(curl --silent "http://127.0.0.1:3000/api" | jq --raw-output '.result.healthy')"
|
|
|
|
echo "Healthy: ${HEALTHY}"
|
|
[ "$HEALTHY" = 'true' ] || exit 1
|