mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-07 13:42:50 +02:00
update
This commit is contained in:
parent
7ad3cc178e
commit
779e6f5e31
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user