Skip to content

Commit

Permalink
Add redis config (infiniflow#1104)
Browse files Browse the repository at this point in the history
### 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>
  • Loading branch information
JinHai-CN authored Jun 8, 2024
1 parent 376f4f3 commit 1201e9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ MINIO_PORT=9000
MINIO_USER=rag_flow
MINIO_PASSWORD=infini_rag_flow

REDIS_PORT=6379
REDIS_PASSWORD=infini_rag_flow

SVR_HTTP_PORT=9380
Expand Down
2 changes: 2 additions & 0 deletions docker/docker-compose-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ services:
image: redis:7.2.4
container_name: ragflow-redis
command: redis-server --requirepass ${REDIS_PASSWORD} --maxmemory 128mb --maxmemory-policy allkeys-lru
ports:
- ${REDIS_PORT}:6379
volumes:
- redis_data:/data
networks:
Expand Down

0 comments on commit 1201e9b

Please sign in to comment.