1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/redis-stack/README.md

28 lines
569 B
Markdown
Raw Normal View History

2022-06-30 05:44:41 +02:00
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/