-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
version: '3.5' | ||
|
||
services: | ||
etcd: | ||
image: quay.io/coreos/etcd:v3.5.5 | ||
environment: | ||
- ETCD_AUTO_COMPACTION_MODE=revision | ||
- ETCD_AUTO_COMPACTION_RETENTION=1000 | ||
- ETCD_QUOTA_BACKEND_BYTES=4294967296 | ||
- ETCD_SNAPSHOT_COUNT=50000 | ||
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 --data-dir /etcd | ||
ports: | ||
- "2379:2379" | ||
- "2380:2380" | ||
- "4001:4001" | ||
|
||
pulsar: | ||
image: peiit/pulsar:3.0.0 | ||
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" | ||
- "8080:8080" | ||
|
||
minio: | ||
image: minio/minio:latest | ||
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 | ||
|
||
networks: | ||
default: | ||
name: milvus_dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters