Minio - 安装 - 优化
Minio - 安装 - 优化
1 - Install Docker
2 - Pull the MinIO Docker Image
docker pull minio/minio:latest
3 - Create Docker Compose File
通过如下内容,修改账户 + 密码,然后创建 docker-compose.yml 文件
version: '3'
services:
minio:
image: minio/minio:latest
container_name: minio
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: {user}
MINIO_ROOT_PASSWORD: {user-password}
volumes:
- ~/minio/data:/data
- ~/minio/config:/root/.minio
command: server --address "0.0.0.0:9000" --console-address "0.0.0.0:9001" /data
restart: always
4 - Run Docker Compose
#docker-compose down
docker-compose up -d
5 - Access MinIO
Open your web browser and navigate to http://
6 - Default Ports
Port 9000 (HTTP)
This is the default port for accessing the MinIO server via HTTP. It is used for web access and API requests.
http://<your-server-ip>:9000
Port 9001 (Console)
This port is used for the MinIO Console, which is the web-based administrative interface for MinIO.
http://<your-server-ip>:9001
7 - Usage
Buckets
创建 存储桶,在 Anonymous Access 可以指定路径,开启匿名访问
Groups
创建 robot 组,关联 Policies,统一控制机器人权限
User
创建 robot-1,关联 robot 组,生成 Access Keys,用于SDK访问
最后修改于 2024-07-16
此篇文章的评论功能已经停用。