docker-compose.yml 784 B

123456789101112131415161718192021222324252627
  1. version: '3.8'
  2. services:
  3. # search-image:
  4. # container_name: milvus-etcd
  5. # image: quay.io/coreos/etcd:v3.5.5
  6. # environment:
  7. # - ETCD_AUTO_COMPACTION_MODE=revision
  8. # - ETCD_AUTO_COMPACTION_RETENTION=1000
  9. # - ETCD_QUOTA_BACKEND_BYTES=4294967296
  10. # - ETCD_SNAPSHOT_COUNT=50000
  11. # volumes:
  12. # - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
  13. # command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
  14. search-image:
  15. image: registry.cn-chengdu.aliyuncs.com/infish/search-image:v1.0.0
  16. restart: always
  17. environment:
  18. MILVUS_HOST: milvus-standalone
  19. MILVUS_PORT: 19530
  20. volumes:
  21. - ./tmp/images:/app/src/tmp/images
  22. networks:
  23. - milvus
  24. ports:
  25. - 5000:5000