使用 docker-compose 简单部署 minio

单机开发调试用

version: '3'
services:
  minio:
    image: minio/minio:RELEASE.2021-04-18T19-26-29Z
    container_name: minioServer
    ports:
      - 9000:9000
    volumes:
      - /var/minio/data:/data
      - /var/minio/config:/root/.minio
    environment:
      MINIO_ACCESS_KEY: "minio"
      MINIO_SECRET_KEY: "minio123"
    command: server /data
    restart: always

你可能感兴趣的:(springcloud,分布式开发,docker,容器,minio,compose,文件服务器)