· 7 years ago · Feb 11, 2018, 01:00 PM
1version: '2'
2
3 services:
4 redis:
5 image: redis
6 ports:
7 - "6379:6379"
8 links:
9 - minio1
10 volumes:
11 - redsalt1:/data
12 driver: local
13 driver_opts:
14 endpoint: http://localhost:9001
15 access-key: admin
16 secret-key: adminadmin
17 bucket: testbucket
18
19
20 minio1:
21 image: minio/minio
22 volumes:
23 - redsalt1:/export
24 ports:
25 - "9001:9000"
26 environment:
27 MINIO_ACCESS_KEY: admin
28 MINIO_SECRET_KEY: adminadmin
29 command: server http://minio1/export