docker compose 启动 Minio
59 字小于 1 分钟
2024-12-01
version: '2'
services:
minio:
image: 'bitnami/minio:latest'
restart: always
ports:
- '9000:9000'
- '9001:9001'
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=admin@pwd
volumes:
- /root/minio-data:/bitnami/minio/data
#command: server --address 0.0.0.0:9000 --console-address 0.0.0.0:9090 /data
给文件夹权限
sudo chown 1001 /root/minio-data