mirror of https://github.com/milvus-io/milvus.git
[skip ci] Use volume for dev docker compose (#11134)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>pull/11138/head
parent
d7798d0798
commit
a60a303aec
|
@ -3,6 +3,8 @@ version: '3.5'
|
|||
services:
|
||||
etcd:
|
||||
image: quay.io/coreos/etcd:v3.5.0
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/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
|
||||
ports:
|
||||
- "2379:2379"
|
||||
|
@ -11,6 +13,8 @@ services:
|
|||
|
||||
pulsar:
|
||||
image: apachepulsar/pulsar:2.7.3
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/pulsar:/pulsar/data
|
||||
environment:
|
||||
# bin/apply-config-from-env.py script will modify the configuration file based on the environment variables
|
||||
# nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding)
|
||||
|
@ -35,6 +39,8 @@ services:
|
|||
environment:
|
||||
MINIO_ACCESS_KEY: minioadmin
|
||||
MINIO_SECRET_KEY: minioadmin
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
|
||||
command: minio server /minio_data
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
||||
|
|
Loading…
Reference in New Issue