fix(api-gateway): 禁用 deck 容器的代理设置

避免继承宿主机的 http_proxy 环境变量导致连接失败

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Developer 2025-12-03 01:01:22 -08:00
parent d2a00213f8
commit de5cbce0d3
1 changed files with 8 additions and 0 deletions

View File

@ -97,6 +97,14 @@ services:
command: > command: >
gateway sync /etc/kong/kong.yml gateway sync /etc/kong/kong.yml
--kong-addr http://kong:8001 --kong-addr http://kong:8001
environment:
# 禁用代理,避免继承宿主机的代理设置
http_proxy: ""
https_proxy: ""
HTTP_PROXY: ""
HTTPS_PROXY: ""
no_proxy: "*"
NO_PROXY: "*"
volumes: volumes:
- ./kong.yml:/etc/kong/kong.yml:ro - ./kong.yml:/etc/kong/kong.yml:ro
depends_on: depends_on: