mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-23 12:03:58 +00:00
Merge pull request #589 from H3npi/H3npi-patch-1
Adds Healthcheck for default docker container
This commit is contained in:
commit
dda244edd8
11 changed files with 49 additions and 0 deletions
|
@ -94,5 +94,9 @@ COPY Rocket.toml .
|
|||
COPY --from=vault /web-vault ./web-vault
|
||||
COPY --from=build app/target/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"]
|
|
@ -76,5 +76,9 @@ COPY Rocket.toml .
|
|||
COPY --from=vault /web-vault ./web-vault
|
||||
COPY --from=build /app/target/x86_64-unknown-linux-musl/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"]
|
Loading…
Add table
Add a link
Reference in a new issue