Commit 2a7bf308 by imwangxiaozhou

build(docker-compose): 添加 no_proxy 环境变量跳过内部redis和本地代理

为两个服务添加 no_proxy 和 NO_PROXY 环境变量以兼容不同工具,排除内部redis地址、localhost和127.0.0.1的代理
1 parent c3fbc3a4
......@@ -16,6 +16,8 @@ services:
- 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
- no_proxy=*.redis.glsx.com,localhost,127.0.0.1
- NO_PROXY=*.redis.glsx.com,localhost,127.0.0.1
volumes:
- ./logs:/app/logs
restart: unless-stopped
......@@ -36,6 +38,8 @@ services:
- 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
- no_proxy=*.redis.glsx.com,localhost,127.0.0.1
- NO_PROXY=*.redis.glsx.com,localhost,127.0.0.1
volumes:
- ./logs:/app/logs
restart: unless-stopped
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!