Skip to content

Commit cc7ea51

Browse files
authored
Merge pull request #4325 from Dokploy/fix/3909-healthcheck-interval
fix: reduce healthcheck frequency to lower memory pressure
2 parents 0bdcbf5 + 8f3d824 commit cc7ea51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ COPY --from=buildpacksio/pack:0.39.1 /usr/local/bin/pack /usr/local/bin/pack
6666

6767
EXPOSE 3000
6868

69-
HEALTHCHECK --interval=10s --timeout=3s --retries=10 \
69+
HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=5 \
7070
CMD curl -fs http://localhost:3000/api/trpc/settings.health || exit 1
7171

7272
CMD ["sh", "-c", "pnpm run wait-for-postgres && exec pnpm start"]

0 commit comments

Comments
 (0)