Docker安装MinIO

# 创建数据目录
mkdir -p /root/minio
mkdir -p /root/config

# 运行rabbitmq
docker run -p 9000:9000 -p 9090:9090 \
--name minio \
-d --restart=always \
-e "MINIO_ACCESS_KEY=admin" \
-e "MINIO_SECRET_KEY=123456" \
-e "MINIO_SERVER_URL=https://oss.codei.top" \
-e "MINIO_BROWSER_REDIRECT_URL=https://ossconsole.codei.top" \
-v /root/minio/data:/data \
-v /root/minio/config:/root/.minio \
minio/minio server \
/data --console-address ":9090" -address ":9000"