123456789101112131415161718192021222324252627 |
- version: '3.8'
- services:
- # search-image:
- # container_name: milvus-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 -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
- search-image:
- image: registry.cn-chengdu.aliyuncs.com/infish/search-image:v1.0.0
- restart: always
- environment:
- MILVUS_HOST: milvus-standalone
- MILVUS_PORT: 19530
- volumes:
- - ./tmp/images:/app/src/tmp/images
- networks:
- - milvus
- ports:
- - 5000:5000
|