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
753 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:
2020-09-17 13:12:56 +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:
- MINIO_ACCESS_KEY=ossaccesskey
- MINIO_SECRET_KEY=osssecretkey
restart: unless-stopped
2019-11-21 04:54:21 +02:00
s3:
image: minio/minio
command: gateway s3
ports:
- "9001:9000"
environment:
- MINIO_ACCESS_KEY=awsaccesskey
- MINIO_SECRET_KEY=awssecretkey
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:
- MINIO_ACCESS_KEY=nasaccesskey
- MINIO_SECRET_KEY=nassecretkey
restart: unless-stopped