Skip to content

Commit

Permalink
[skip e2e] update etcd health check (milvus-io#28436)
Browse files Browse the repository at this point in the history
pr: milvus-io#27980

Signed-off-by: Bennu-Li <[email protected]>
  • Loading branch information
Bennu-Li authored Nov 15, 2023
1 parent 678efa1 commit 6bb86e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/docker/standalone/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:2379/health"]
test: ["CMD", "etcdctl", "endpoint", "health"]
interval: 30s
timeout: 20s
retries: 3
Expand Down

0 comments on commit 6bb86e3

Please sign in to comment.