Conversation
…eam-proxy/ 전환, 마이그레이션 006)
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 개요
운영 환경(Production)에서 슬로프캠 스트림이 정상 출력되지 않던 3가지 원인(비발디 404, 하이원·오투·무주 401, 휘닉스파크 404)을 해결했습니다.
🚀 주요 변경 사항
1. 비발디파크
vivaldi.html404 해결frontend/Dockerfile의 runner 스테이지에COPY --from=builder /app/public ./public를 추가하여, 프로덕션 컨테이너 이미지에 정적 HTML/SDK 파일이 정상 포함되도록 수정.2. 하이원·오투·무주 401 차단 해결 (Nginx 라우팅 충돌 방지)
/api/접두사를 Spring Boot 백엔드(8080)로 전달하여 Next.js 스트림 프록시가 차단되던 구조적 문제를 해결하기 위해, 프록시 라우트 네임스페이스를/api/*-stream에서/stream-proxy/*로 분리 이동 (/stream-proxy/high1,/stream-proxy/o2,/stream-proxy/muju).3. 휘닉스파크 404 해결 및 006 마이그레이션
database/production/006_migration_fix_stream_proxy_path.sql신설:source_url을 현재 200 OK로 실제 송출 중인 공식 최신 HLS 주소로 업데이트.source_url을/stream-proxy/...경로로 일괄 갱신(REPLACE).CAM_09(클래식) 정품 장비 시리얼(TW0014A15451) 보정 반영.scripts/verify-production-migration-006.sh작성 및 CI 워크플로우(gradle.yml,deploy-backend.yml) 연동.4. 프론트엔드 및 로컬 시드 정합성 보장
fallback-data.ts및resort-cameras-local.json의 스트림 URL을/stream-proxy/...및 최신 휘닉스파크 주소로 전면 동기화.🧪 검증 결과
npm run build) 통과.spotlessCheck) 통과.