mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
update
This commit is contained in:
parent
7ad3cc178e
commit
779e6f5e31
@ -12,11 +12,21 @@ services:
|
|||||||
- MINIO_SECRET_KEY=osssecretkey
|
- MINIO_SECRET_KEY=osssecretkey
|
||||||
restart: unless-stopped
|
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:
|
nas:
|
||||||
image: minio/minio
|
image: minio/minio
|
||||||
command: gateway nas /data
|
command: gateway nas /data
|
||||||
ports:
|
ports:
|
||||||
- "9001:9000"
|
- "9002:9000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
environment:
|
environment:
|
||||||
|
@ -12,6 +12,8 @@ scale your distributed caching architecture.
|
|||||||
```bash
|
```bash
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
|
|
||||||
|
$ curl http://127.0.0.1:22222
|
||||||
|
|
||||||
$ docker-compose exec redis redis-cli -h twemproxy
|
$ docker-compose exec redis redis-cli -h twemproxy
|
||||||
twemproxy:6379> ping
|
twemproxy:6379> ping
|
||||||
PONG
|
PONG
|
||||||
|
Loading…
Reference in New Issue
Block a user