T-04 로컬 실행 환경 검증 - #75
Merged
Merged
Conversation
부팅 → 마이그레이션 → /health 200을 로컬에서 재현하고, 그 과정에서 겪은 문제를 README에 남긴다. - docker-compose.yml — 로컬 Postgres 16. 호스트 포트는 COMPOSE_POSTGRES_PORT로 오버라이드 가능(기본 5432) - README.md — 실행 절차, 테스트 실행, 흔히 겪는 문제 application-local.yml은 추가하지 않았다. .env + springboot4-dotenv(developmentOnly)가 이미 이 역할을 하고 있고(.env.example에 필요한 오버라이드가 전부 문서화되어 있다), Spring profile을 추가로 얹으면 로컬 설정 경로가 두 개가 된다. 로컬에서 실제로 부딪힌 문제: 이 Mac에 홈브루 postgresql@18 서비스가 이미 5432를 점유하고 있어 Flyway가 엉뚱한 Postgres(역할 "postgres" 없음)에 연결해 실패했다. COMPOSE_POSTGRES_PORT 오버라이드로 재현 확인 — README에 원인과 해결을 남겼다. 검증: docker compose up -d → .env 생성(JWT_SECRET 발급) → ./gradlew bootRun → Flyway 6개 마이그레이션 적용 → curl /health → 200 OK. ./gradlew test 전체 통과. Refs #16
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds a PostgreSQL 16 Docker Compose service and a README for local setup, testing, troubleshooting, health checks, migrations, and deployment operations. ChangesEnvironment and operational documentation
Estimated code review effort: 2 (Simple) | ~10 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Refs #16
원래 PR #57(base: feat/t01-common-foundation)이 #56 squash-merge 후 base 브랜치 삭제로 재오픈이 불가능해 새로 열었다. 커밋 내용은 원래 PR과 동일, main 위로 rebase만 했다.
Summary by CodeRabbit
New Features
Documentation