feat: adds redis to docker compose
This commit is contained in:
parent
ee45afed42
commit
0776a07f0a
1 changed files with 25 additions and 0 deletions
|
|
@ -140,6 +140,30 @@ services:
|
|||
networks:
|
||||
- cognee-network
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: redis
|
||||
profiles:
|
||||
- redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
- cognee-network
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
command: [ "redis-server", "--appendonly", "yes" ]
|
||||
|
||||
|
||||
redisinsight:
|
||||
image: redislabs/redisinsight:latest
|
||||
container_name: redisinsight
|
||||
restart: always
|
||||
ports:
|
||||
- "5540:5540"
|
||||
networks:
|
||||
- cognee-network
|
||||
|
||||
|
||||
networks:
|
||||
cognee-network:
|
||||
name: cognee-network
|
||||
|
|
@ -147,3 +171,4 @@ networks:
|
|||
volumes:
|
||||
chromadb_data:
|
||||
postgres_data:
|
||||
redis_data:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue