docker 部署 MinIO

docker-compose.yml
version: '3'

services:
  minio:
    image: minio/minio
    environment:
      - MINIO_VOLUMES="/data"
      - MINIO_ROOT_USER=minioadmin
      - MINIO_ROOT_PASSWORD=minioadmin
    ports:
      - 9000:9000
      - 9090:9090
    volumes:
      - ./data:/data
    command: "minio server --console-address \":9090\""