|
@@ -2,15 +2,21 @@ version: '3.5'
|
|
|
|
|
|
services:
|
|
|
etcd:
|
|
|
- container_name: milvus-test-etcd
|
|
|
+ container_name: milvus-javasdk-test-etcd
|
|
|
image: quay.io/coreos/etcd:v3.5.0
|
|
|
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
|
|
|
+ command: etcd -listen-peer-urls=http://127.0.0.1:2380 -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -initial-advertise-peer-urls=http://127.0.0.1:2380 --initial-cluster default=http://127.0.0.1:2380 --data-dir /etcd
|
|
|
+ ports:
|
|
|
+ - "2379:2379"
|
|
|
+ - "2380:2380"
|
|
|
+ - "4001:4001"
|
|
|
|
|
|
minio:
|
|
|
- container_name: milvus-test-minio
|
|
|
+ container_name: milvus-javasdk-test-minio
|
|
|
image: minio/minio:RELEASE.2020-12-03T00-03-10Z
|
|
|
+ ports:
|
|
|
+ - "9000:9000"
|
|
|
environment:
|
|
|
MINIO_ACCESS_KEY: minioadmin
|
|
|
MINIO_SECRET_KEY: minioadmin
|
|
@@ -18,14 +24,14 @@ services:
|
|
|
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
|
|
|
command: minio server /minio_data
|
|
|
healthcheck:
|
|
|
- test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
|
|
+ test: [ "CMD", "curl", "-f", "http://localhost:9000/minio/health/live" ]
|
|
|
interval: 30s
|
|
|
timeout: 20s
|
|
|
retries: 3
|
|
|
|
|
|
standalone:
|
|
|
- container_name: milvus-test-standalone
|
|
|
- image: milvusdb/milvus:v2.0.0-rc7-20211011-d567b21
|
|
|
+ container_name: milvus-javasdk-test-standalone
|
|
|
+ image: milvusdb/milvus:v2.0.0
|
|
|
command: ["milvus", "run", "standalone"]
|
|
|
environment:
|
|
|
ETCD_ENDPOINTS: etcd:2379
|