mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 13:06:00 +08:00
Add redis config (#1104)
### What problem does this PR solve? Redis post config is missing ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
parent
267d6b28be
commit
f900e432f3
@ -26,6 +26,7 @@ MINIO_PORT=9000
|
|||||||
MINIO_USER=rag_flow
|
MINIO_USER=rag_flow
|
||||||
MINIO_PASSWORD=infini_rag_flow
|
MINIO_PASSWORD=infini_rag_flow
|
||||||
|
|
||||||
|
REDIS_PORT=6379
|
||||||
REDIS_PASSWORD=infini_rag_flow
|
REDIS_PASSWORD=infini_rag_flow
|
||||||
|
|
||||||
SVR_HTTP_PORT=9380
|
SVR_HTTP_PORT=9380
|
||||||
|
@ -77,6 +77,8 @@ services:
|
|||||||
image: redis:7.2.4
|
image: redis:7.2.4
|
||||||
container_name: ragflow-redis
|
container_name: ragflow-redis
|
||||||
command: redis-server --requirepass ${REDIS_PASSWORD} --maxmemory 128mb --maxmemory-policy allkeys-lru
|
command: redis-server --requirepass ${REDIS_PASSWORD} --maxmemory 128mb --maxmemory-policy allkeys-lru
|
||||||
|
ports:
|
||||||
|
- ${REDIS_PORT}:6379
|
||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user