This commit is contained in:
kev 2019-11-21 10:54:21 +08:00
parent 7ad3cc178e
commit 779e6f5e31
2 changed files with 13 additions and 1 deletions

View File

@ -12,11 +12,21 @@ services:
- 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:
- "9001:9000"
- "9002:9000"
volumes:
- ./data:/data
environment:

View File

@ -12,6 +12,8 @@ scale your distributed caching architecture.
```bash
$ docker-compose up -d
$ curl http://127.0.0.1:22222
$ docker-compose exec redis redis-cli -h twemproxy
twemproxy:6379> ping
PONG