geforkt von mirrored/vaultwarden
Allow self signed certs and increase a bit the timings
Dieser Commit ist enthalten in:
Ursprung
ae8bf954c1
Commit
f9408a00c6
11 geänderte Dateien mit 11 neuen und 11 gelöschten Zeilen
|
@ -100,7 +100,7 @@ COPY --from=build /app/target/aarch64-unknown-linux-gnu/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
|
@ -99,7 +99,7 @@ COPY --from=build /app/target/aarch64-unknown-linux-gnu/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
|
@ -97,7 +97,7 @@ COPY --from=build app/target/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
|
@ -79,7 +79,7 @@ COPY --from=build /app/target/x86_64-unknown-linux-musl/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
|
@ -96,7 +96,7 @@ COPY --from=build app/target/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
||||||
|
|
|
@ -78,7 +78,7 @@ COPY --from=build /app/target/x86_64-unknown-linux-musl/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
|
|
|
@ -100,7 +100,7 @@ COPY --from=build /app/target/arm-unknown-linux-gnueabi/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
||||||
|
|
|
@ -99,7 +99,7 @@ COPY --from=build /app/target/arm-unknown-linux-gnueabi/release/bitwarden_rs .
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
||||||
|
|
|
@ -101,7 +101,7 @@ COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
|
@ -99,7 +99,7 @@ COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs
|
||||||
|
|
||||||
COPY docker/healthcheck.sh ./healthcheck.sh
|
COPY docker/healthcheck.sh ./healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=1s CMD sh healthcheck.sh || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1
|
||||||
|
|
||||||
# Configures the startup!
|
# Configures the startup!
|
||||||
CMD ["./bitwarden_rs"]
|
CMD ["./bitwarden_rs"]
|
|
@ -4,5 +4,5 @@ if [ -z "$ROCKET_TLS"]
|
||||||
then
|
then
|
||||||
curl --fail http://localhost:${ROCKET_PORT:-"80"}/alive || exit 1
|
curl --fail http://localhost:${ROCKET_PORT:-"80"}/alive || exit 1
|
||||||
else
|
else
|
||||||
curl --fail https://localhost:${ROCKET_PORT:-"80"}/alive || exit 1
|
curl --insecure --fail https://localhost:${ROCKET_PORT:-"80"}/alive || exit 1
|
||||||
fi
|
fi
|
Laden …
In neuem Issue referenzieren