diff --git a/fly.toml b/fly.toml index 938475427..76170c4bb 100644 --- a/fly.toml +++ b/fly.toml @@ -50,3 +50,10 @@ script_checks = [ ] timeout = "2s" tls_skip_verify = false headers = { } + + [[services.http_checks]] + grace_period = "10s" + interval = "30s" + method = "GET" + timeout = "5s" + path = "/litefs/health" diff --git a/other/Dockerfile b/other/Dockerfile index 925c5d66b..3e17ec1bb 100644 --- a/other/Dockerfile +++ b/other/Dockerfile @@ -69,7 +69,7 @@ COPY --from=build /myapp/prisma /myapp/prisma COPY --from=build /myapp/app/components/ui/icons /myapp/app/components/ui/icons # prepare for litefs -COPY --from=flyio/litefs:0.5.1 /usr/local/bin/litefs /usr/local/bin/litefs +COPY --from=flyio/litefs:0.5.4 /usr/local/bin/litefs /usr/local/bin/litefs ADD other/litefs.yml /etc/litefs.yml RUN mkdir -p /data ${LITEFS_DIR}