vaultwarden/overlay/usr/local/bin/healthcheck.sh
Robert Kaussow 03f34d9fc8
All checks were successful
continuous-integration/drone/push Build is passing
reduce healthcheck times
2020-01-18 15:35:47 +01:00

10 lines
139 B
Bash
Executable File

#!/usr/bin/env sh
set -eo pipefail
URL=http://localhost:8080/alive
wget --quiet --tries=1 --spider ${URL}
[ $? -ne 0 ] && exit 1
exit 0