1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-23 04:28:19 +00:00

Adds Healthcheck for all docker container

This commit is contained in:
H3npi 2019-08-27 11:23:55 +02:00 committed by H3npi
commit 66a68f6d22
11 changed files with 49 additions and 0 deletions

8
docker/healthcheck.sh Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
if [ -z "$ROCKET_TLS"]
then
curl --fail http://localhost/alive || exit 1
else
curl --fail https://localhost/alive || exit 1
fi