安装 minIO Azure S3网关
约 223 字
预计阅读 1 分钟
次阅读
安装 minIO
通过 docker 安装
1
2
3
4
|
docker run -p 9000:9000 -p 41863:41863 -d --name azure-s3 \
-e "MINIO_ACCESS_KEY=azure存储账户" \
-e "MINIO_SECRET_KEY=azure存储密码" \
minio/minio gateway azure --console-address ":41863"
|
通过 docker-compose 安装
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
version: "3"
services:
minio:
image: "minio/minio:RELEASE.2022-01-04T07-41-07Z.fips"
container_name: "minio"
restart: "always"
volumes:
- "/etc/localtime:/etc/localtime"
ports:
- "9000:9000"
- "9001:9001"
environment:
- "MINIO_ROOT_USER=azure存储账户"
- "MINIO_ROOT_PASSWORD=azure存储密码"
command:
- --console-address ":41863"
|