Skip to content

Commit

Permalink
fix: Remove --start-interval as it is a relatively recent docker fe…
Browse files Browse the repository at this point in the history
…ature (#2164)

It means it will be slightly slower to turn `healthy` but that's ok
  • Loading branch information
msfstef authored Dec 12, 2024
1 parent c2cc76a commit 008beed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sync-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ COPY --from=builder /app/_build/prod/rel/${RELEASE_NAME} ./
RUN mv /app/bin/${RELEASE_NAME} /app/bin/entrypoint


HEALTHCHECK --start-interval=2s --start-period=10s CMD curl --fail http://localhost:${ELECTRIC_PORT-3000}/v1/health || exit 1
HEALTHCHECK --start-period=10s CMD curl --fail http://localhost:${ELECTRIC_PORT-3000}/v1/health || exit 1

ENTRYPOINT ["/app/bin/entrypoint"]
CMD ["start"]

0 comments on commit 008beed

Please sign in to comment.