Reduce timeout for healthcheck
This commit is contained in:
@@ -78,7 +78,7 @@ USER rails:rails
|
|||||||
# Entrypoint prepares the database.
|
# Entrypoint prepares the database.
|
||||||
ENTRYPOINT ["/rails/bin/docker-entrypoint-production"]
|
ENTRYPOINT ["/rails/bin/docker-entrypoint-production"]
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=0s --start-interval=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=0s --start-interval=5s --retries=3 \
|
||||||
CMD curl -f http://localhost:3000/up || exit 1
|
CMD curl -f http://localhost:3000/up || exit 1
|
||||||
|
|
||||||
# Start the server by default, this can be overwritten at runtime
|
# Start the server by default, this can be overwritten at runtime
|
||||||
|
|||||||
Reference in New Issue
Block a user