diff --git a/troubleshooting/250826_happybell80_frontend_rb8001_채팅연결_계획.md b/troubleshooting/250826_happybell80_frontend_rb8001_채팅연결_계획.md index ef229b9..4f0d008 100644 --- a/troubleshooting/250826_happybell80_frontend_rb8001_채팅연결_계획.md +++ b/troubleshooting/250826_happybell80_frontend_rb8001_채팅연결_계획.md @@ -30,8 +30,9 @@ Frontend(React) → Gateway(8100) → rb8001(8001) - 문제점: robeing_id가 "undefined"로 전달됨 #### 51124 서버 (rb8001) -- rb8001은 Docker 컨테이너가 아닌 Python 프로세스로 실행 중 (PID 1336125) -- 포트 8001 정상 리스닝 +- rb8001은 Docker 컨테이너로 실행 중 (컨테이너명: rb8001) +- 이미지: rb8001-rb8001, host 네트워크 모드 사용 +- 포트 8001 정상 리스닝 (14시간째 healthy 상태) - `/api/message`, `/api/chat` 엔드포인트 없음 - 사용 가능: `/complete`, `/api/slack/events` 등 @@ -162,7 +163,11 @@ response["level"] = stats.get("level", 1) 4. **배포** (5분) - Git commit & push - - 서버에서 프로세스 재시작 + - 서버에서 Docker 컨테이너 재빌드 및 재시작 + ```bash + docker compose down rb8001 + docker compose up -d --build rb8001 + ``` ### 4.2 검증 방법 1. Frontend 로그인 (happybell80) @@ -202,7 +207,7 @@ rb8001(8001) → /api/message 처리 ### 6.2 롤백 계획 - rb8001 코드 git revert -- 프로세스 재시작 +- Docker 컨테이너 재빌드 및 재시작 ---