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