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:
Macbook
2026-07-12 05:11:05 +09:00
parent bb9a45f097
commit 9891cd9a94
6 changed files with 296 additions and 4 deletions
+33
View File
@@ -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
```