minio容器化-编排

  • docker-compose.yaml
version: '2'
services:
    minio:
        hostname: minio
        container_name: minio
        image: minio/minio:latest
        ports:
          - "9000:9000"
        environment:
          - MINIO_ACCESS_KEY=test-demo
          - MINIO_SECRET_KEY=12345678
        volumes:
          - ./data:/data
          - ./config:/root/.minio
        command: server /data

你可能感兴趣的:(minio容器化-编排)