Commit 6baf4042 by imwangxiaozhou

修复(docker-compose): 更新Celery的Redis连接配置

分别更新主服务和Worker服务的配置,将Redis连接地址从host.docker.internal替换为common.redis.glsx.com,使用集群内共享的Redis服务作为Celery的消息代理和结果存储后端。
1 parent 924b286c
...@@ -14,6 +14,8 @@ services: ...@@ -14,6 +14,8 @@ services:
- LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production} - LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production}
- LLMCP_LOG_LEVEL=INFO - LLMCP_LOG_LEVEL=INFO
- LLMCP_LOG_STORAGE_PATH=/app/logs - LLMCP_LOG_STORAGE_PATH=/app/logs
- LLMCP_CELERY_BROKER_URL=redis://common.redis.glsx.com:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://common.redis.glsx.com:6379/1
volumes: volumes:
- ./logs:/app/logs - ./logs:/app/logs
restart: unless-stopped restart: unless-stopped
...@@ -32,8 +34,8 @@ services: ...@@ -32,8 +34,8 @@ services:
- LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production} - LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production}
- LLMCP_LOG_LEVEL=INFO - LLMCP_LOG_LEVEL=INFO
- LLMCP_LOG_STORAGE_PATH=/app/logs - LLMCP_LOG_STORAGE_PATH=/app/logs
- LLMCP_CELERY_BROKER_URL=redis://host.docker.internal:6379/0 - LLMCP_CELERY_BROKER_URL=redis://common.redis.glsx.com:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://host.docker.internal:6379/1 - LLMCP_CELERY_RESULT_BACKEND=redis://common.redis.glsx.com:6379/1
volumes: volumes:
- ./logs:/app/logs - ./logs:/app/logs
restart: unless-stopped restart: unless-stopped
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!