feat(deploy): 도커 배포(deploy/docker: compose+Dockerfile+deploy.sh) — 우리 환경용. 렌더러가 FabriX/OpenRouter 템플릿 자동 선택, 호스트 변수화. bare deploy.sh 는 git pull 포함. Phoenix 도커 compose

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
lee-hyeon-cheol
2026-09-22 18:09:48 +09:00
co-authored by Claude Fable 5.1
parent f55e673cb5
commit ea1fd350da
13 changed files with 232 additions and 11 deletions
@@ -0,0 +1,37 @@
# CodeAssist 도커 배포 .env — 이 폴더에 .env 로 복사해서 채움. be 컨테이너 환경변수로 그대로 들어감.
# 바깥 포트 (앱이 http://<서버>:<BE_PORT>/api/v1 로 붙음)
BE_PORT=8080
# LLM — 우리 환경은 OpenRouter 직접(고객사 FabriX 키 AAF_* 는 비움 → 렌더러가 OpenRouter 템플릿을 고름)
OPENROUTER_API_KEY=
OPENCODE_VISION_MODEL=openrouter/google/gemma-4-31b-it
# 토큰 서명 키 (비우면 data/.auth_secret 자동 생성)
AUTH_SECRET=
# DB — 비우면 SQLite(be_data 볼륨). 팀 PostgreSQL 쓰려면 채움
DB_HOST=
DB_PORT=5432
DB_USER=
DB_PASSWORD=
DB_NAME=
DB_SCHEMA=codeassist
DB_SSLMODE=prefer
# 앱(Tauri)에서 오는 요청 허용 origin
CORS_ORIGINS=http://tauri.localhost,tauri://localhost,http://localhost:15173
# 채팅 타임아웃(초)
STREAM_FIRST_EVENT_TIMEOUT_S=300
STREAM_TURN_TIMEOUT_S=600
# SAP 조회 MCP — 같은 서버의 abap-opencode compose 에 mcp 컨테이너가 있으면 그 주소. 비우면 끔
MCP_HOST=mcp
MCP_PORT=3200
MCP_API_KEY=
# 관측(Phoenix) — deploy/phoenix 로 띄운 주소. 비우면 안 보냄
PHOENIX_HOST=http://20.200.170.37:6006
TRACE_PROJECT=codeassist
PHOENIX_UI_PASSWORD=