Skip to content

Commit

Permalink
build: update api healthcheck retries (slow machines)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 8, 2023
1 parent 83012c6 commit 4b77e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ VOLUME /opt/app/images
# Change to non-root user
USER appuser
# Add Healthcheck
HEALTHCHECK --start-period=10s --interval=5s --retries=8 --timeout=5s \
HEALTHCHECK --start-period=10s --interval=5s --retries=20 --timeout=5s \
CMD curl --fail http://localhost:8000 || exit 1


Expand Down

0 comments on commit 4b77e6b

Please sign in to comment.