diff --git a/deployments/binary/README.md b/deployments/binary/README.md index 8f4de7b634c690a27b984f5e9cfe8039794ba269..0f418a6e7e1877aef0f08f31ba101b28a97ce9aa 100644 --- a/deployments/binary/README.md +++ b/deployments/binary/README.md @@ -30,7 +30,7 @@ $ ./minio server /minio To start Milvus standalone, you need a Milvus binary file. Currently you can get the latest version of Milvus binary file through the Milvus docker image. (We will upload Milvus binary files in the future) ```shell -$ docker run -d --name milvus milvusdb/milvus:v2.3.0-beta /bin/bash +$ docker run -d --name milvus milvusdb/milvus:v2.3.0 /bin/bash $ docker cp milvus:/milvus . ``` diff --git a/deployments/docker/standalone/docker-compose.yml b/deployments/docker/standalone/docker-compose.yml index 17b951d46d1beee677ddd9ef2d53734cef658b63..763e98da16b6f7e8507aa7622bc8b9ade0965587 100644 --- a/deployments/docker/standalone/docker-compose.yml +++ b/deployments/docker/standalone/docker-compose.yml @@ -12,10 +12,15 @@ services: volumes: - ${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"] + interval: 30s + timeout: 20s + retries: 3 minio: container_name: milvus-minio - image: minio/minio:RELEASE.2022-03-17T06-34-49Z + image: minio/minio:RELEASE.2023-03-20T20-16-18Z environment: MINIO_ACCESS_KEY: minioadmin MINIO_SECRET_KEY: minioadmin @@ -33,13 +38,19 @@ services: standalone: container_name: milvus-standalone - image: milvusdb/milvus:v2.3.0-beta + image: milvusdb/milvus:v2.3.0 command: ["milvus", "run", "standalone"] environment: ETCD_ENDPOINTS: etcd:2379 MINIO_ADDRESS: minio:9000 volumes: - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"] + interval: 30s + start_period: 90s + timeout: 20s + retries: 3 ports: - "19530:19530" - "9091:9091"