mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
a6a3b69d91
Signed-off-by: groot <yihua.mo@zilliz.com>
57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
YAML
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"
|
|
- "2380:2380"
|
|
- "4001:4001"
|
|
|
|
pulsar:
|
|
image: milvusdb/pulsar:v2.8.2-m1
|
|
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)
|
|
- nettyMaxFrameSizeBytes=104867840 # this is 104857600 + 10240 (padding)
|
|
- defaultRetentionTimeInMinutes=10080
|
|
- defaultRetentionSizeInMB=8192
|
|
# maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured
|
|
- PULSAR_PREFIX_maxMessageSize=104857600
|
|
- PULSAR_GC=-XX:+UseG1GC
|
|
ports:
|
|
- "6650:6650"
|
|
- "18080:8080"
|
|
|
|
minio:
|
|
image: minio/minio:RELEASE.2022-03-17T06-34-49Z
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
environment:
|
|
MINIO_ACCESS_KEY: minioadmin
|
|
MINIO_SECRET_KEY: minioadmin
|
|
volumes:
|
|
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
|
|
command: minio server /minio_data --console-address ":9001"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
|
interval: 30s
|
|
timeout: 20s
|
|
retries: 3
|
|
|
|
jaeger:
|
|
image: jaegertracing/all-in-one:latest
|
|
ports:
|
|
- "6831:6831/udp"
|
|
- "16686:16686"
|
|
|
|
networks:
|
|
default:
|
|
name: milvus_dev
|