1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/minio/gateway-docker-compose.yml

36 lines
775 B
YAML
Raw Normal View History

2020-07-20 10:07:31 +02:00
version: "3.8"
2019-10-19 13:17:15 +02:00
services:
oss:
2021-12-07 10:50:20 +02:00
image: minio/minio:RELEASE.2019-10-12T01-39-57Z
2019-10-19 13:17:15 +02:00
command: gateway oss https://oss-cn-beijing.aliyuncs.com
ports:
- "9000:9000"
environment:
2021-12-01 12:11:40 +02:00
- MINIO_ACCESS_KEY=oss_access_key
- MINIO_SECRET_KEY=oss_secret_key
2019-10-19 13:17:15 +02:00
restart: unless-stopped
2019-11-21 04:54:21 +02:00
s3:
image: minio/minio
command: gateway s3
ports:
- "9001:9000"
environment:
2021-12-01 12:11:40 +02:00
- MINIO_ROOT_USER=aws_s3_access_key
- MINIO_ROOT_PASSWORD=aws_s3_secret_key
2019-11-21 04:54:21 +02:00
restart: unless-stopped
2019-10-19 13:17:15 +02:00
nas:
image: minio/minio
command: gateway nas /data
ports:
2019-11-21 04:54:21 +02:00
- "9002:9000"
2019-10-19 13:17:15 +02:00
volumes:
- ./data:/data
environment:
2021-12-01 12:11:40 +02:00
- MINIO_ROOT_USER=nas_access_key
- MINIO_ROOT_PASSWORD=nas_secret_key
2019-10-19 13:17:15 +02:00
restart: unless-stopped