fix: add ANTHROPIC_BASE_URL to agent-service for proxy access
The agent-service was missing the ANTHROPIC_BASE_URL environment variable, causing the Claude Agent SDK to call api.anthropic.com directly instead of going through the proxy at 67.223.119.33, resulting in 403 Forbidden errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
79fae0629e
commit
7ac753ada4
|
|
@ -129,6 +129,8 @@ services:
|
|||
- DB_DATABASE=${POSTGRES_DB:-it0}
|
||||
- REDIS_URL=redis://redis:6379
|
||||
- AGENT_ENGINE_TYPE=claude_agent_sdk
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||
- ANTHROPIC_BASE_URL=${ANTHROPIC_BASE_URL}
|
||||
- AGENT_SERVICE_PORT=3002
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "node -e \"require('http').get('http://localhost:3002/',r=>{process.exit(r.statusCode<500?0:1)}).on('error',()=>process.exit(1))\""]
|
||||
|
|
|
|||
Loading…
Reference in New Issue