Skip to content

Commit

Permalink
Use default HEALTHCHECK args
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Sep 30, 2023
1 parent 82e6160 commit c446a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ USER rails:rails
# Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint-production"]

HEALTHCHECK --interval=5s --timeout=3s --retries=3 --start-period=30s \
HEALTHCHECK --interval=30s --timeout=30s --start-period=0s --start-interval=5s --retries=3 \
CMD curl -f http://localhost:3000/up || exit 1

# Start the server by default, this can be overwritten at runtime
Expand Down

0 comments on commit c446a55

Please sign in to comment.