stock.exdev.co.kr로 접속 url 변경
This commit is contained in:
@@ -83,7 +83,7 @@ CI 빌드 시 `latest.json` 버전 기준 **patch 자동 bump** (예: 0.1.3 →
|
||||
|
||||
## 4. 앱 기능
|
||||
|
||||
- **서버**: `http://exdev.co.kr/api` (웹과 동일 계정·DB)
|
||||
- **서버**: `https://stock.exdev.co.kr/api` (웹과 동일 계정·DB)
|
||||
- **위젯**: OS 별도 창 (`WebviewWindow`)
|
||||
- **알림**: 창 닫기 → 트레이 상주, STOMP + OS 알림
|
||||
- **업데이트**: 설정 → 일반 → PC 앱 → **업데이트 확인**
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# exdev.co.kr 서브도메인 분리 — stock / chatbot
|
||||
|
||||
| 서비스 | URL |
|
||||
|--------|-----|
|
||||
| **GoldenChart** | https://stock.exdev.co.kr |
|
||||
| **Chatbot** | https://chatbot.exdev.co.kr/chatbot/* |
|
||||
| **Legacy apex** | https://exdev.co.kr → stock 또는 chatbot으로 301 |
|
||||
|
||||
## 1. DNS (Gabia 등)
|
||||
|
||||
| 호스트 | 타입 | 값 |
|
||||
|--------|------|-----|
|
||||
| `stock` | A | 서버 공인 IP |
|
||||
| `chatbot` | A | 서버 공인 IP |
|
||||
|
||||
## 2. SSL 인증서 (exAIChatbot2.0 서버)
|
||||
|
||||
```bash
|
||||
cd /path/to/exAIChatbot2.0
|
||||
# env: STOCK_DOMAIN, CHATBOT_DOMAIN (env.exdev 참고)
|
||||
bash scripts/exdev/obtain-cert-exdev.sh # exdev + stock + chatbot SAN
|
||||
bash scripts/exdev/start-https-caddy.sh
|
||||
```
|
||||
|
||||
Caddyfile: `docker/caddy/Caddyfile.exdev`
|
||||
|
||||
## 3. GoldenChart
|
||||
|
||||
서버 `.env`:
|
||||
|
||||
```env
|
||||
GC_DESKTOP_APP_PUBLIC_BASE_URL=https://stock.exdev.co.kr
|
||||
GC_MOBILE_APP_PUBLIC_BASE_URL=https://stock.exdev.co.kr
|
||||
```
|
||||
|
||||
Desktop updater / Jenkins:
|
||||
|
||||
```bash
|
||||
export DESKTOP_UPDATE_BASE_URL=https://stock.exdev.co.kr/desktop/updates
|
||||
```
|
||||
|
||||
검증:
|
||||
|
||||
```bash
|
||||
curl -sS https://stock.exdev.co.kr/ | head
|
||||
DESKTOP_UPDATE_BASE_URL=https://stock.exdev.co.kr/desktop/updates ./scripts/verify-desktop-updater-endpoint.sh
|
||||
```
|
||||
|
||||
## 4. Chatbot
|
||||
|
||||
`.env` (env.exdev):
|
||||
|
||||
```env
|
||||
PUBLIC_BASE_URL=https://chatbot.exdev.co.kr
|
||||
CHATBOT_DOMAIN=chatbot.exdev.co.kr
|
||||
```
|
||||
|
||||
카카오 스킬 URL 예:
|
||||
|
||||
- Q&A: `https://chatbot.exdev.co.kr/chatbot/kakao/skill`
|
||||
- 챗봇홈: `https://chatbot.exdev.co.kr/chatbot/app/`
|
||||
|
||||
검증:
|
||||
|
||||
```bash
|
||||
curl -sS https://chatbot.exdev.co.kr/chatbot/health
|
||||
curl -sS https://chatbot.exdev.co.kr/chatbot/app/ | head
|
||||
```
|
||||
|
||||
## 5. SSH / git remote
|
||||
|
||||
서버 호스트명 `exdev.co.kr`·`REMOTE_HOST=exdev.co.kr` 는 **변경하지 않음** (배포·SSH용).
|
||||
@@ -49,7 +49,7 @@ git push main
|
||||
|------|------|
|
||||
| `GC_MOBILE_APP_VERSION` | API·앱 업데이트 비교용 버전 |
|
||||
| `GC_MOBILE_JENKINS_*` | Jenkins mobile job |
|
||||
| `GC_MOBILE_APP_PUBLIC_BASE_URL` | 다운로드 URL base (기본 `http://exdev.co.kr`) |
|
||||
| `GC_MOBILE_APP_PUBLIC_BASE_URL` | 다운로드 URL base (기본 `https://stock.exdev.co.kr`) |
|
||||
|
||||
## 수동 빌드
|
||||
|
||||
|
||||
Reference in New Issue
Block a user