Skip to content

Commit 99c0613

Browse files
committed
fix(docker): 同时设置大小写代理环境变量以禁用代理
1 parent f1796ca commit 99c0613

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker-compose.prod.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,15 @@ services:
5454
- LLM_MODEL=${LLM_MODEL:-gpt-4o}
5555
- LLM_API_KEY=${LLM_API_KEY:-your-api-key-here}
5656
- LLM_BASE_URL=${LLM_BASE_URL:-}
57-
# 禁用代理
57+
# 禁用代理 - 必须同时设置大小写变量
5858
- HTTP_PROXY=
5959
- HTTPS_PROXY=
60+
- http_proxy=
61+
- https_proxy=
62+
- all_proxy=
63+
- ALL_PROXY=
6064
- NO_PROXY=*
65+
- no_proxy=*
6166
depends_on:
6267
db:
6368
condition: service_healthy

0 commit comments

Comments
 (0)