vaultwarden/overlay/usr/local/bin/healthcheck
Robert Kaussow 2669d633ea
All checks were successful
continuous-integration/drone/push Build is passing
cleanup
2020-02-01 23:14:37 +01:00

11 lines
140 B
Bash
Executable File

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