github.com/milvus-io/milvus-sdk-go/v2@v2.4.1/ci/docker/milvus/docker-compose.yml (about)

     1  version: '3.5'
     2  
     3  services:
     4    etcd:
     5      container_name: milvus-etcd
     6      image: quay.io/coreos/etcd:v3.5.0
     7      volumes:
     8        - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
     9      command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
    10  
    11    minio:
    12      container_name: milvus-minio
    13      image: minio/minio:RELEASE.2020-12-03T00-03-10Z
    14      environment:
    15        MINIO_ACCESS_KEY: minioadmin
    16        MINIO_SECRET_KEY: minioadmin
    17      volumes:
    18        - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
    19      command: minio server /minio_data
    20      healthcheck:
    21        test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
    22        interval: 30s
    23        timeout: 20s
    24        retries: 3
    25  
    26    standalone:
    27      container_name: milvus-standalone
    28      image: ${IMAGE_REPO}/milvus-dev:${IMAGE_TAG}
    29      command: ["milvus", "run", "standalone"]
    30      environment:
    31        ETCD_ENDPOINTS: etcd:2379
    32        MINIO_ADDRESS: minio:9000
    33      volumes:
    34        - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
    35      ports:
    36        - "19530:19530"
    37      depends_on:
    38        - "etcd"
    39        - "minio"
    40  
    41  networks:
    42    default:
    43      name: milvus