feat: redis configuration

This commit is contained in:
2025-06-07 01:31:47 +02:00
parent cc49ab1655
commit c5f288ba1e
3 changed files with 21 additions and 0 deletions

View File

@ -8,3 +8,18 @@ services:
POSTGRES_PASSWORD: guard
ports:
- "5432:5432"
cache:
image: redis:7.2 # or newer
container_name: guard-redis
ports:
- "6379:6379"
volumes:
- redis-data:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
restart: unless-stopped
volumes:
redis-data:
driver: local