1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/minio/gateway-docker-compose.yml
2019-11-21 10:54:21 +08:00

36 lines
724 B
YAML

version: "3.7"
services:
oss:
image: minio/minio
command: gateway oss https://oss-cn-beijing.aliyuncs.com
ports:
- "9000:9000"
environment:
- MINIO_ACCESS_KEY=ossaccesskey
- MINIO_SECRET_KEY=osssecretkey
restart: unless-stopped
s3:
image: minio/minio
command: gateway s3
ports:
- "9001:9000"
environment:
- MINIO_ACCESS_KEY=awsaccesskey
- MINIO_SECRET_KEY=awssecretkey
restart: unless-stopped
nas:
image: minio/minio
command: gateway nas /data
ports:
- "9002:9000"
volumes:
- ./data:/data
environment:
- MINIO_ACCESS_KEY=nasaccesskey
- MINIO_SECRET_KEY=nassecretkey
restart: unless-stopped