mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-02-04 01:28:48 -05:00
Adds environment port to curl healthcheck
This commit is contained in:
parent
66a68f6d22
commit
cce3ce816c
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
if [ -z "$ROCKET_TLS"]
|
||||
then
|
||||
curl --fail http://localhost/alive || exit 1
|
||||
curl --fail http://localhost:${ROCKET_PORT:-"80"}/alive || exit 1
|
||||
else
|
||||
curl --fail https://localhost/alive || exit 1
|
||||
curl --fail https://localhost:${ROCKET_PORT:-"80"}/alive || exit 1
|
||||
fi
|
Loading…
Add table
Reference in a new issue