Conversation
- deploy job 이름 'Deploy to GCE' → 'Deploy to On-Premises' 수정 - SSH 접속 시크릿 GCE_HOST/GCE_USER/GCE_SSH_KEY/GCE_SSH_PORT → SERVER_HOST/SERVER_USER/SERVER_SSH_KEY/SERVER_SSH_PORT 로 변경 (기존 secret 변수들은 보존해둠)
…-백엔드-서버-마이그레이션 fix: GCP에서 온프레미스 서버로 배포 대상 변경
## docker-compose.yml - mysql:8.0 서비스 추가 - utf8mb4 캐릭터셋 설정 - healthcheck (mysqladmin ping) 적용 - mysql_data 볼륨 마운트 - 환경변수: MYSQL_ROOT_PASSWORD, MYSQL_DATABASE, RDB_USERNAME, RDB_PASSWORD - mongodb:7.0 서비스 추가 - healthcheck (mongosh ping) 적용 - mongodb_data 볼륨 마운트 - 환경변수: MONGO_ROOT_USERNAME, MONGO_ROOT_PASSWORD, MONGO_DATABASE - backend 서비스 - depends_on을 redis 단순 의존 → mysql/mongodb healthcheck 조건부 의존으로 변경 - deploy.resources.limits 추가: cpus 4.0, memory 16G ## .github/workflows/cicd.yml - deploy job에 MySQL · MongoDB 관련 secrets 추가 (MYSQL_ROOT_PASSWORD, MYSQL_DATABASE, MONGO_ROOT_USERNAME, MONGO_ROOT_PASSWORD, MONGO_DATABASE) - envs 전달 목록에 위 5개 변수 추가 - 환경변수 정규화(\r\n 제거) 블록에 위 5개 변수 추가 - .env 생성 printf 블록에 위 5개 변수 추가 - docker pull mysql:8.0 · mongo:7.0 단계 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-백엔드-서버-마이그레이션 fix: GCP Cloud SQL · MongoDB Atlas를 온프레미스 내부 컨테이너로 전환
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughBackend infrastructure is being migrated from Google Cloud Platform to on-premises servers. Deployment configuration is updated to use new connection parameters and secrets. Docker Compose configuration is extended to include MySQL and MongoDB services with health checks and resource limits. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
📝 Pull Request Template
📌 제목
📢 요약
docker-compose.yml
mysql:8.0 서비스 추가
mongodb:7.0 서비스 추가
backend 서비스
.github/workflows/cicd.yml
(MYSQL_ROOT_PASSWORD, MYSQL_DATABASE, MONGO_ROOT_USERNAME, MONGO_ROOT_PASSWORD, MONGO_DATABASE)
🔗 연관 이슈: Resolves #56
🚀 PR 유형
✅ PR 체크리스트
📜 기타
Summary by CodeRabbit