jinhai-2012 commited on
Commit
6840107
·
1 Parent(s): 924429d

Add redis config (#1104)

Browse files

### 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 <[email protected]>

Files changed (2) hide show
  1. docker/.env +1 -0
  2. docker/docker-compose-base.yml +2 -0
docker/.env CHANGED
@@ -26,6 +26,7 @@ MINIO_PORT=9000
26
  MINIO_USER=rag_flow
27
  MINIO_PASSWORD=infini_rag_flow
28
 
 
29
  REDIS_PASSWORD=infini_rag_flow
30
 
31
  SVR_HTTP_PORT=9380
 
26
  MINIO_USER=rag_flow
27
  MINIO_PASSWORD=infini_rag_flow
28
 
29
+ REDIS_PORT=6379
30
  REDIS_PASSWORD=infini_rag_flow
31
 
32
  SVR_HTTP_PORT=9380
docker/docker-compose-base.yml CHANGED
@@ -77,6 +77,8 @@ services:
77
  image: redis:7.2.4
78
  container_name: ragflow-redis
79
  command: redis-server --requirepass ${REDIS_PASSWORD} --maxmemory 128mb --maxmemory-policy allkeys-lru
 
 
80
  volumes:
81
  - redis_data:/data
82
  networks:
 
77
  image: redis:7.2.4
78
  container_name: ragflow-redis
79
  command: redis-server --requirepass ${REDIS_PASSWORD} --maxmemory 128mb --maxmemory-policy allkeys-lru
80
+ ports:
81
+ - ${REDIS_PORT}:6379
82
  volumes:
83
  - redis_data:/data
84
  networks: