docker-compose安装Minio
docker-compose.yml 文件
version: "3"
services:
minio:
image: minio/minio:latest
container_name: minio
ports:
- "9000:9000"
volumes:
- "./data:/data"
environment:
MINIO_ACCESS_KEY: "root"
MINIO_SECRET_KEY: "password"
command: server /data
restart: always
logging:
driver: "json-file"
options:
max-size: "1m"