exdev 자동 배포(Jenkins/post-receive) 및 billcare.exdev.co.kr HTTPS 연동
git push main 시 Docker Compose 빌드·배포하고 Caddy로 https://billcare.exdev.co.kr 접속을 지원합니다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# BillCare 서버 배포 가이드 (exdev.co.kr + Jenkins)
|
||||
|
||||
## 개요
|
||||
|
||||
| 트랙 | 트리거 | 동작 |
|
||||
|------|--------|------|
|
||||
| Track A | `git push origin main` | `post-receive` → `deploy-billcare.sh` |
|
||||
| Track B | Jenkins `BillCare-Pipeline` | `deploy-billcare.sh` |
|
||||
|
||||
## 경로
|
||||
|
||||
| 항목 | 경로 |
|
||||
|------|------|
|
||||
| bare repo | `/Volumes/ADATA/git/BillCare.git` |
|
||||
| work-tree | `/Users/aidev/apps/BillCare` |
|
||||
| 배포 스크립트 | `/Volumes/ADATA/git/deploy-billcare.sh` |
|
||||
| 로그 | `/Volumes/ADATA/logs/deploy/billcare-deploy.log` |
|
||||
| HTTPS | https://billcare.exdev.co.kr |
|
||||
|
||||
## 호스트 포트
|
||||
|
||||
| 서비스 | 포트 |
|
||||
|--------|------|
|
||||
| frontend (Caddy upstream) | **83** |
|
||||
| backend (직접 헬스체크) | **18082** |
|
||||
| mysql | **3308** |
|
||||
|
||||
## 로컬 push
|
||||
|
||||
```bash
|
||||
cd /Users/macbook/dev/billCare
|
||||
git push origin main
|
||||
```
|
||||
Reference in New Issue
Block a user