chore(domain): momo.junggomoa.com → momotogether.com
Deploy momo-erp / deploy (push) Successful in 1m11s

- docker-compose.prod.yml: Traefik Host 라벨 (apex + www)
- .gitea/workflows/deploy.yml: NEXTAUTH_URL + 헬스체크 URL
- CICD_SETUP.md, docs/proposal.html, docs/MOMO_DISTRIBUTION_SPEC.md 도메인 표기 수정

DNS 입력 (가비아):
  A  @    183.99.177.40
  A  www  183.99.177.40

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chpark
2026-04-29 18:17:40 +09:00
parent 860e52939d
commit defd358e20
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ jobs:
# .env.production 갱신 (SMTP/MOMO 포함)
cat > .env.production <<'ENVEOF'
DATABASE_URL=postgresql://momo_app:qlalfqjsgh11@183.99.177.40:5432/distribution
NEXTAUTH_URL=https://momo.junggomoa.com
NEXTAUTH_URL=https://momotogether.com
NEXTAUTH_SECRET=2b1f94cca798f49ff62822b01617503b019d118df9d249ee61f835a7dca1946e
NEXT_PUBLIC_APP_NAME=유통관리 ERP
NEXT_PUBLIC_COMPANY_NAME=모모유통
@@ -71,7 +71,7 @@ jobs:
run: |
for i in 1 2 3 4 5 6 7 8 9 10; do
sleep 10
CODE=$(curl -s -o /tmp/p.html -w "%{http_code}" -L https://momo.junggomoa.com/ || echo 000)
CODE=$(curl -s -o /tmp/p.html -w "%{http_code}" -L https://momotogether.com/ || echo 000)
HAS_NEW=$(grep -q "WORKFLOW\|매입 발주\|SCREEN PREVIEW" /tmp/p.html && echo yes || echo no)
echo " ${i}/10: HTTP $CODE / 신버전=$HAS_NEW"
if [ "$CODE" = "200" ] && [ "$HAS_NEW" = "yes" ]; then
+1 -1
View File
@@ -15,7 +15,7 @@ Gitea 저장소 → **Settings → Actions → Secrets** 에 다음 시크릿을
| `DEPLOY_USER` | `chpark` |
| `DEPLOY_SSH_KEY` | SSH 개인키 전체 (BEGIN/END 포함) |
| `DATABASE_URL` | `postgresql://postgres:qlalfqjsgh11@183.99.177.40:5432/distribution` |
| `NEXTAUTH_URL` | `https://momo.junggomoa.com` |
| `NEXTAUTH_URL` | `https://momotogether.com` |
| `NEXTAUTH_SECRET` | 임의의 32바이트 hex (현재 .env.production 값 재사용 가능) |
| `MASTER_PWD` | `qlalfqjsgh11` |
| `AES_KEY` | `ILJIAESSECRETKEY` |
+2 -2
View File
@@ -1,4 +1,4 @@
# 운영 배포 (Traefik + momo.junggomoa.com)
# 운영 배포 (Traefik + momotogether.com)
# 대상 서버: 183.99.177.40 (Traefik v2.11 외부 네트워크 traefik-net 사용)
# 사용: docker compose -f docker-compose.prod.yml up -d --build
services:
@@ -27,7 +27,7 @@ services:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-net
- traefik.http.routers.momo-erp.rule=Host(`momo.junggomoa.com`)
- traefik.http.routers.momo-erp.rule=Host(`momotogether.com`) || Host(`www.momotogether.com`)
- traefik.http.routers.momo-erp.entrypoints=websecure,web
- traefik.http.routers.momo-erp.tls=true
- traefik.http.routers.momo-erp.tls.certresolver=le
+1 -1
View File
@@ -2,7 +2,7 @@
> **버전**: 0.2 (기존 테이블 재사용 정책 반영)
> **작성일**: 2026-04-26
> **대상 도메인**: `momo.junggomoa.com`
> **대상 도메인**: `momotogether.com` (구: `momo.junggomoa.com`)
> **DB**: `distribution` (PostgreSQL 16, 320+ 테이블 — FITO 스키마 import)
> **기술 스택**: Next.js 15 (App Router) · React 19 · TypeScript · Tailwind · raw SQL via `pg` · JWT 세션 · Zustand · TanStack Table · SweetAlert2
+2 -2
View File
@@ -89,7 +89,7 @@
<div class="sub">엑셀 기반 발주 업무를 웹 + 모바일 앱으로 전환합니다</div>
<div class="meta">
<span><b>고객사</b> · 모모유통</span>
<span><b>도메인</b> · momo.junggomoa.com</span>
<span><b>도메인</b> · momotogether.com</span>
<span><b>기간(예상)</b> · 5주</span>
<span><b>플랫폼</b> · 웹(PC) + 안드로이드 앱</span>
</div>
@@ -248,7 +248,7 @@
</div>
</div>
<footer>© 2026 모모유통 유통관리 시스템 · Next.js 15 + React Native (APK) · momo.junggomoa.com</footer>
<footer>© 2026 모모유통 유통관리 시스템 · Next.js 15 + React Native (APK) · momotogether.com</footer>
</div>
</body>