mirror of https://github.com/milvus-io/milvus.git
enhance: add some parameters in docker-compose (#31453)
pr: #31454 Signed-off-by: Liang Huang <sammy.huang@zilliz.com>pull/31462/head
parent
60fe5e8ed1
commit
2dd16bd401
|
@ -14,6 +14,9 @@ services:
|
|||
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", "etcdctl", "endpoint", "health"]
|
||||
interval: 30s
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
|
||||
minio:
|
||||
container_name: milvus-minio
|
||||
|
@ -37,6 +40,8 @@ services:
|
|||
container_name: milvus-standalone
|
||||
image: milvusdb/milvus:v2.4.0-rc.1-gpu
|
||||
command: ["milvus", "run", "standalone"]
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
environment:
|
||||
ETCD_ENDPOINTS: etcd:2379
|
||||
MINIO_ADDRESS: minio:9000
|
||||
|
|
|
@ -40,6 +40,8 @@ services:
|
|||
container_name: milvus-standalone
|
||||
image: milvusdb/milvus:v2.4.0-rc.1
|
||||
command: ["milvus", "run", "standalone"]
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
environment:
|
||||
ETCD_ENDPOINTS: etcd:2379
|
||||
MINIO_ADDRESS: minio:9000
|
||||
|
|
Loading…
Reference in New Issue