Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LLM-Filter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2026_NGIT
LLM-Filter
Commits
94e9c927
Commit
94e9c927
authored
Mar 04, 2026
by
uuo00_n
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(docker): 添加Redis服务并更新相关配置
parent
a6a0695c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
role.md
.trae/rules/role.md
+0
-1
docker-compose.prod.yml
docker-compose.prod.yml
+21
-0
No files found.
.trae/rules/role.md
deleted
100644 → 0
View file @
a6a0695c
-
修改代码后要重新编译并更新重启docker容器
\ No newline at end of file
docker-compose.prod.yml
View file @
94e9c927
...
@@ -60,9 +60,13 @@ services:
...
@@ -60,9 +60,13 @@ services:
-
DB_NAME=llm_filter_db
-
DB_NAME=llm_filter_db
-
DB_PORT=5432
-
DB_PORT=5432
-
JWT_SECRET=llm_filter_secure_secret_key_2025_update_must_be_32_bytes
-
JWT_SECRET=llm_filter_secure_secret_key_2025_update_must_be_32_bytes
-
SPRING_REDIS_HOST=redis
-
SPRING_REDIS_PORT=6379
depends_on
:
depends_on
:
postgres
:
postgres
:
condition
:
service_healthy
condition
:
service_healthy
redis
:
condition
:
service_started
networks
:
networks
:
-
llm-network
-
llm-network
...
@@ -92,8 +96,12 @@ services:
...
@@ -92,8 +96,12 @@ services:
# Dify Configuration
# Dify Configuration
-
DIFY_API_URL=http://192.168.6.6/v1
-
DIFY_API_URL=http://192.168.6.6/v1
-
DIFY_API_KEY=app-lkK33EQOVXXrjD9x3SKbItr7
-
DIFY_API_KEY=app-lkK33EQOVXXrjD9x3SKbItr7
# Redis Configuration
-
REDIS_HOST=redis
-
REDIS_PORT=6379
depends_on
:
depends_on
:
-
mongo
-
mongo
-
redis
networks
:
networks
:
-
llm-network
-
llm-network
...
@@ -118,6 +126,18 @@ services:
...
@@ -118,6 +126,18 @@ services:
networks
:
networks
:
-
llm-network
-
llm-network
# Redis 缓存服务
redis
:
image
:
redis:7-alpine
container_name
:
llm-filter-redis
restart
:
always
ports
:
-
"
6379:6379"
volumes
:
-
redis_data:/data
networks
:
-
llm-network
# MongoDB 服务
# MongoDB 服务
mongo
:
mongo
:
image
:
mongo:latest
image
:
mongo:latest
...
@@ -154,3 +174,4 @@ networks:
...
@@ -154,3 +174,4 @@ networks:
volumes
:
volumes
:
postgres_data
:
postgres_data
:
mongo_data
:
mongo_data
:
redis_data
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment