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

26 lines
518 B
YAML
Raw Normal View History

2019-10-19 13:17:15 +02:00
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
nas:
image: minio/minio
command: gateway nas /data
ports:
- "9001:9000"
volumes:
- ./data:/data
environment:
- MINIO_ACCESS_KEY=nasaccesskey
- MINIO_SECRET_KEY=nassecretkey
restart: unless-stopped