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:
parent
026f9da035
commit
66a68f6d22
11 changed files with 49 additions and 0 deletions
8
docker/healthcheck.sh
Normal file
8
docker/healthcheck.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue