docker-compose.yml 816 B

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