Skip to content

Commit

Permalink
ci: healthcheck experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
jjangga0214 committed Sep 10, 2024
1 parent 35fe765 commit 632e29b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verdaccio/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ services:
# test: curl -f http://localhost:4873/-/ping
# This image does not have curl. So, use wget instead.
test: wget --spider --quiet http://localhost:4873/-/ping || exit 1
interval: 5s # Time between health checks
interval: 10s # Time between health checks
timeout: 10s # Time to wait for a health check response
retries: 20 # Number of consecutive failures required before marking the service as unhealthy
retries: 100 # Number of consecutive failures required before marking the service as unhealthy
start_period: 5s # Start period to allow the service to initialize before health checks begin

networks:
Expand Down

0 comments on commit 632e29b

Please sign in to comment.