minio部署以及picGo图床设置
docker-compose.yml如下
version: "3.7"
services:
minio:
image: "minio/minio"
ports:
- "9000:9000"
- "9001:9001"
volumes:
- "./minio/data1:/data1"
- "./minio/data2:/data2"
command: server --console-address ":9001" http://minio/data{1...2}
environment:
- MINIO_ROOT_USER=zyy # 登录web console的用户名
- MINIO_ROOT_PASSWORD=Tahw3Ki9KaZexah8eeb8biizeeWahThu # 登录web console的密码
启动
docker-compose up -d