1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-14 07:33:56 +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
parent 026f9da035
commit 66a68f6d22
11 changed files with 49 additions and 0 deletions

View file

@ -97,5 +97,9 @@ COPY Rocket.toml .
COPY --from=vault /web-vault ./web-vault
COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs .
COPY docker/healthcheck.sh ./healthcheck.sh
HEALTHCHECK --interval=10s --timeout=1s CMD bash healthcheck.sh || exit 1
# Configures the startup!
CMD ["./bitwarden_rs"]