安装 minIO Azure S3网关

安装 minIO

通过 docker 安装

1docker run -p 9000:9000 -p 41863:41863 -d --name azure-s3 \
2 -e "MINIO_ACCESS_KEY=azure存储账户" \
3 -e "MINIO_SECRET_KEY=azure存储密码" \
4 minio/minio gateway azure --console-address ":41863"

通过 docker-compose 安装

 1version: "3"
 2services:
 3  minio:
 4    image: "minio/minio:RELEASE.2022-01-04T07-41-07Z.fips"
 5    container_name: "minio"
 6    restart: "always"
 7    volumes:
 8      - "/etc/localtime:/etc/localtime"
 9    ports:
10      - "9000:9000"
11      - "9001:9001"
12    environment:
13      - "MINIO_ROOT_USER=azure存储账户"
14      - "MINIO_ROOT_PASSWORD=azure存储密码"
15    command:
16      - --console-address ":41863"