mirror of https://github.com/vimagick/dockerfiles
add redis-stack
This commit is contained in:
parent
5ce03f0302
commit
613a776b58
|
@ -411,6 +411,7 @@ A collection of delicious docker recipes.
|
||||||
- [x] postgrest/postgrest
|
- [x] postgrest/postgrest
|
||||||
- [x] prom/prometheus
|
- [x] prom/prometheus
|
||||||
- [x] prosody/prosody
|
- [x] prosody/prosody
|
||||||
|
- [x] redis/redis-stack
|
||||||
- [x] registry
|
- [x] registry
|
||||||
- [x] restic/rest-server
|
- [x] restic/rest-server
|
||||||
- [x] rocker/rstudio
|
- [x] rocker/rstudio
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
redis-stack
|
||||||
|
===========
|
||||||
|
|
||||||
|
![](https://redis.io/images/redis-white.png)
|
||||||
|
|
||||||
|
[Redis Stack][1] is an extension of Redis that adds modern data models and
|
||||||
|
processing engines to provide a complete developer experience.
|
||||||
|
|
||||||
|
## docker-compose.yml
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
redis-stack:
|
||||||
|
image: redis/redis-stack-server
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
- "8001:8001"
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
environment:
|
||||||
|
REDIS_ARGS: "--save 900 1"
|
||||||
|
REDISTIMESERIES_ARGS: "RETENTION_POLICY=20"
|
||||||
|
restart: unless-stopped
|
||||||
|
```
|
||||||
|
|
||||||
|
[1]: https://redis.io/docs/stack/
|
|
@ -0,0 +1,13 @@
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
redis-stack:
|
||||||
|
image: redis/redis-stack-server
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
- "8001:8001"
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
environment:
|
||||||
|
REDIS_ARGS: "--save 900 1"
|
||||||
|
REDISTIMESERIES_ARGS: "RETENTION_POLICY=20"
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue