Skip to content

Commit

Permalink
Change back to nc for healthcheck (worked better on GH)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Jan 23, 2022
1 parent 4863a9f commit 9bcc66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust_plugins/timescale/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- timenet
# define a health check so that setup doesnt start too soon
healthcheck:
test: [ "CMD", "curl", "--fail", "localhost:3000" ]
test: [ "CMD", "nc", "-z", "-v", "localhost", "3000" ]
interval: 1s
timeout: 3s
retries: 60
Expand Down

0 comments on commit 9bcc66c

Please sign in to comment.