diff --git a/docker-compose.yml b/docker-compose.yml index 204ff46..336ca6f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -290,3 +290,18 @@ services: - ${RUNTIME_PATH}:/runtime:rw - ${RUNTIME_PATH}/scripts:/scripts:ro - /var/run/docker.sock:/var/run/docker.sock + + redis: + image: redis:7-alpine + container_name: redis + restart: unless-stopped + ports: + - "6379:6379" + volumes: + - ${RUNTIME_PATH}/redis-data:/data + command: redis-server --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru + healthcheck: + test: ["CMD", "redis-cli", "ping"] + interval: 60s + timeout: 5s + retries: 3