github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/.github/workflows/mint/minio-erasure.yaml (about)

     1  version: '3.7'
     2  
     3  # Settings and configurations that are common for all containers
     4  x-minio-common: &minio-common
     5    image: quay.io/minio/minio:${JOB_NAME}
     6    command: server --console-address ":9001" edata{1...4}
     7    expose:
     8      - "9000"
     9      - "9001"
    10    environment:
    11      MINIO_CI_CD: "on"
    12      MINIO_ROOT_USER: "minio"
    13      MINIO_ROOT_PASSWORD: "minio123"
    14      MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
    15    healthcheck:
    16      test: ["CMD", "mc", "ready", "local"]
    17      interval: 5s
    18      timeout: 5s
    19      retries: 5
    20  
    21  # starts 4 docker containers running minio server instances.
    22  # using nginx reverse proxy, load balancing, you can access
    23  # it through port 9000.
    24  services:
    25    minio1:
    26      <<: *minio-common
    27      hostname: minio1
    28      volumes:
    29        - edata1-1:/edata1
    30        - edata1-2:/edata2
    31        - edata1-3:/edata3
    32        - edata1-4:/edata4
    33  
    34    nginx:
    35      image: nginx:1.19.2-alpine
    36      hostname: nginx
    37      volumes:
    38        - ./nginx-1-node.conf:/etc/nginx/nginx.conf:ro
    39      ports:
    40        - "9000:9000"
    41        - "9001:9001"
    42      depends_on:
    43        - minio1
    44  
    45  ## By default this config uses default local driver,
    46  ## For custom volumes replace with volume driver configuration.
    47  volumes:
    48    edata1-1:
    49    edata1-2:
    50    edata1-3:
    51    edata1-4: