mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
.. | ||
docker-compose.yml | ||
README.md |
redis-stack
Redis Stack is an extension of Redis that adds modern data models and processing engines to provide a complete developer experience.
docker-compose.yml
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