mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-10-26 00:30:40 +03:00
Adds Healthcheck for all docker container
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user