fix(deploy): 컨테이너→같은 서버 Phoenix 는 host.docker.internal(host-gateway) — 공인 IP 는 컨테이너 안에서 안 닿음
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
ea1fd350da
commit
9c064615a9
@@ -15,6 +15,8 @@ services:
|
||||
BACKEND_HOST: be # 렌더된 opencode.json 의 게이트웨이 주소(고객사 모드일 때)
|
||||
BACKEND_PORT: "8080"
|
||||
MCP_HOST: ${MCP_HOST:-mcp}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway" # 같은 서버의 Phoenix(:6006) 를 host.docker.internal 로 — 공인 IP 는 컨테이너 안에서 안 닿음(Azure)
|
||||
volumes:
|
||||
- ../../opencode:/app/opencode # AGENTS.md·.opencode·wiki·렌더 결과(opencode.json)
|
||||
- be_data:/app/data # SQLite(DB_HOST 비울 때)·auth secret
|
||||
|
||||
Reference in New Issue
Block a user