version: '3.8'
services:
minio:
image: 'minio/minio:latest'
ports:
- '9000:9000'
- '9001:9001'
environment:
- MINIO_ROOT_USER=root
- MINIO_ROOT_PASSWORD=minio123456789
volumes:
- './data:/data'
command: ['server', '--console-address', ':9001', '/data']
密码和KEY至少8位数