1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/redis-stack/docker-compose.yml
2024-08-30 18:29:56 +08:00

14 lines
298 B
YAML

version: "3.8"
services:
redis-stack:
image: redis/redis-stack-server:7.4.0-v0
ports:
- "6379:6379"
- "8001:8001"
volumes:
- ./data:/data
environment:
REDIS_ARGS: "--save 900 1"
REDISTIMESERIES_ARGS: "RETENTION_POLICY=20"
restart: unless-stopped