docs: 우리 서버 배포 경로·Phoenix 주소·NSG 메모

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
lee-hyeon-cheol
2026-09-22 18:17:39 +09:00
co-authored by Claude Fable 5.1
parent 9c064615a9
commit 8a7df11d9c
+6 -3
View File
@@ -27,9 +27,12 @@
| | 고객사(도커 없음, bare) | 우리 환경 20.200.170.37 (도커) | | | 고객사(도커 없음, bare) | 우리 환경 20.200.170.37 (도커) |
|---|---|---| |---|---|---|
| code-assistant | `cd /www/abap-ito/code-assistant/5_django_backend && bash deploy.sh` (안에서 git pull) | `cd <repo>/code-assistant/5_django_backend/deploy/docker && ./deploy.sh update` | | code-assistant | `cd /www/abap-ito/code-assistant/5_django_backend && bash deploy.sh` (안에서 git pull) | `cd ~/codeassist/5_django_backend/deploy/docker && ./deploy.sh update` |
| abap-specgen | `bash /www/abap-ito/abap-specgen/web/deploy/bare/deploy.sh` (git pull → pip → restart) | `cd <repo>/abap-specgen/web/deploy && ./deploy.sh update` | | abap-specgen | `bash /www/abap-ito/abap-specgen/web/deploy/bare/deploy.sh` (git pull → pip → restart) | `cd ~/abap-opencode/web/deploy && bash deploy.sh update` |
| Phoenix | `deploy/phoenix/run.sh` (pip, -12 안 8915) | `deploy/phoenix/docker-compose.yml` (`:6006`, 둘이 공유) | | Phoenix | `deploy/phoenix/run.sh` (pip, -12 안 8915) | `cd ~/codeassist/5_django_backend/deploy/phoenix && docker compose up -d` (`:6006`, 둘이 공유) |
우리 서버(20.200.170.37, `ssh pwc-rnd-aide-lab`, edge_user)는 고객사 repo 구조가 아니라 **우리 git 두 개를 각각 clone** 해둠: `~/abap-opencode`(ABAP_OPENCODE main), `~/codeassist`(CODE_ASSISTANT master).
컨테이너에서 같은 서버 Phoenix 는 `PHOENIX_HOST=http://host.docker.internal:6006`(compose 가 host-gateway 매핑). 바깥 포트 8080(CodeAssist)·6006(Phoenix)은 Azure NSG 에서 열어야 접근됨(2026-09-22 현재 80/22 만 열림).
-13 에서 `git pull` 이 "local changes would be overwritten" 로 막히면 서버에서 직접 고친 파일이 있는 것: -13 에서 `git pull` 이 "local changes would be overwritten" 로 막히면 서버에서 직접 고친 파일이 있는 것:
`git diff > /tmp/p.patch && git checkout -- . && git pull && git apply /tmp/p.patch`. `git diff > /tmp/p.patch && git checkout -- . && git pull && git apply /tmp/p.patch`.