1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/minio/gateway-docker-compose.yml
2020-07-20 16:07:31 +08:00

36 lines
753 B
YAML

version: "3.8"
services:
oss:
image: minio/minio:RELEASE.2020-04-15T19-42-18Z
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