|
|
@@ -6,9 +6,9 @@
|
|
|
|
|
|
```
|
|
|
config-templates/
|
|
|
-├── dev/ (CTL-Window-Server / dev.dpot.live)
|
|
|
+├── dev/ (CTL-Window-Server / dev.antooza.com)
|
|
|
│ └── .env.production.template
|
|
|
-└── prod/ (PROD-Window-Server / dpot.live)
|
|
|
+└── prod/ (PROD-Window-Server / antooza.com)
|
|
|
└── .env.production.template
|
|
|
```
|
|
|
|
|
|
@@ -18,8 +18,8 @@ config-templates/
|
|
|
|
|
|
| 환경 | credentialsId | 사용 파일 | Jenkinsfile |
|
|
|
|------|---------------------------|---------------------------------------------|-------------|
|
|
|
-| dev | `DEV-DPOT-FRONTEND-ENV` | `dev/.env.production.template` 채워서 | `Frontend/Jenkinsfile` |
|
|
|
-| prod | `PROD-DPOT-FRONTEND-ENV` | `prod/.env.production.template` 채워서 | `Frontend/Jenkinsfile.prod` |
|
|
|
+| dev | `DEV-ANTOOZA-FRONTEND-ENV` | `dev/.env.production.template` 채워서 | `Frontend/Jenkinsfile` |
|
|
|
+| prod | `PROD-ANTOOZA-FRONTEND-ENV` | `prod/.env.production.template` 채워서 | `Frontend/Jenkinsfile.prod` |
|
|
|
|
|
|
## 빌드 시 흐름
|
|
|
|
|
|
@@ -27,18 +27,18 @@ config-templates/
|
|
|
2. `copy /Y "%CFG%" .env.production`
|
|
|
3. `npm run build` — `NEXT_PUBLIC_*` 는 빌드 시 클라이언트 번들에 inline
|
|
|
4. Deploy 단계에서 `.env.production` 을 배포 경로에도 복사 — 서버 사이드 (`API_URL`, `SIGNALR_CHAT_URL` 등) 가 런타임에 로드됨
|
|
|
- - dev : `F:\IIS\DPOT\Front\`
|
|
|
+ - dev : `F:\IIS\ANTOOZA\Front\`
|
|
|
- prod: `C:\workspace\IIS\Front\`
|
|
|
|
|
|
## dev → prod 차이 (참고)
|
|
|
|
|
|
| 키 | dev | prod |
|
|
|
|---|-----|------|
|
|
|
-| `NEXT_PUBLIC_SITE_URL` | `https://dev.dpot.live` | `https://dpot.live` |
|
|
|
-| `NEXT_PUBLIC_API_URL` / `API_URL` | `https://dev-api.dpot.live` | `https://api.dpot.live` |
|
|
|
-| `NEXT_PUBLIC_RESOURCE_URL` | `https://dev-resource.dpot.live` | `https://resource.dpot.live` |
|
|
|
-| `NEXT_PUBLIC_EMBED_DOMAIN` | `dev.dpot.live` | `dpot.live` |
|
|
|
-| `SIGNALR_CHAT_URL` / `SIGNALR_APP_URL` | `https://dev-api.dpot.live/hubs/{chat,app}` | `https://api.dpot.live/hubs/{chat,app}` |
|
|
|
+| `NEXT_PUBLIC_SITE_URL` | `https://dev.antooza.com` | `https://antooza.com` |
|
|
|
+| `NEXT_PUBLIC_API_URL` / `API_URL` | `https://dev-api.antooza.com` | `https://api.antooza.com` |
|
|
|
+| `NEXT_PUBLIC_RESOURCE_URL` | `https://dev-resource.antooza.com` | `https://resource.antooza.com` |
|
|
|
+| `NEXT_PUBLIC_EMBED_DOMAIN` | `dev.antooza.com` | `antooza.com` |
|
|
|
+| `SIGNALR_CHAT_URL` / `SIGNALR_APP_URL` | `https://dev-api.antooza.com/hubs/{chat,app}` | `https://api.antooza.com/hubs/{chat,app}` |
|
|
|
|
|
|
## 보안 노트
|
|
|
|