feat: add redis to docker compose

This commit is contained in:
3raphat
2025-06-23 15:12:34 +07:00
parent e45e7e9f9d
commit 084ec47249
3 changed files with 18 additions and 3 deletions

View File

@ -10,6 +10,17 @@ services:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis
ports:
- "6379:6379"
serverless-redis-http:
ports:
- "8079:80"
image: hiett/serverless-redis-http:latest
environment:
SRH_MODE: env
SRH_TOKEN: example_token
SRH_CONNECTION_STRING: "redis://redis:6379"
volumes:
postgres_data: