1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/redis-stack/docker-compose.yml

14 lines
289 B
YAML
Raw Normal View History

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