Commit Graph

7 Commits

Author SHA1 Message Date
Johngreen 8900f1897c fix: prisma db push를 builder 스테이지에서 실행하도록 수정
- docker-compose.prod.yml에 migrate 서비스 추가 (builder target 사용)
- deploy.sh: postgres 먼저 시작 → migrate 실행 → 나머지 서비스 시작
- Dockerfile에서 불필요한 prisma schema 복사 제거 (runner에 prisma CLI 없음)
2026-03-08 23:31:32 +09:00
Johngreen 0c705d00e2 fix: 프로덕션 DB 스키마 미적용 및 PrismaClient 싱글톤 수정
- deploy.sh에 prisma db push 단계 추가 (배포 시 스키마 자동 적용)
- Dockerfile에 Prisma schema 런타임 이미지 복사 추가
- PrismaClient 프로덕션 싱글톤 캐시 활성화 (커넥션 풀 소진 방지)
2026-03-08 23:26:29 +09:00
Johngreen 7f59b94dcf Rename project from Re:Link to Startover
Rebrand repository from "Re:Link" to "Startover" across the codebase. Updates include package names and scopes (@relink/* -> @startover/*), import paths, Next.js transpile settings, vitest name, UI text and docs, Dockerfile and CI/workflow names, deploy scripts and repo paths, and example/production env values. Also add auth-related env vars, an apps/web .env symlink, and small formatting/typing cleanups in several TSX/TS files and tests to accommodate the rename.
2026-03-08 20:22:08 +09:00
Johngreen e95acfc6af fix: Dockerfile builder 단계에서 public 디렉토리 보장
- builder에서 mkdir -p로 public 디렉토리 생성 (앱에 없을 경우 대비)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:51:10 +09:00
Johngreen 3f7c0f8e79 fix: admin public 디렉토리 누락 및 Dockerfile COPY 안전 처리
- apps/admin/public/.gitkeep 추가
- Dockerfile: public 디렉토리 미존재 시에도 COPY 성공하도록 수정

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:45:22 +09:00
Johngreen 41fc108803 fix: Docker 빌드 오류 수정 - prisma generate 명령어 및 타입 명시
- Dockerfile: prisma generate 명령어를 npx prisma generate로 수정
- feature-flag.ts: map 콜백 파라미터에 명시적 타입 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:39:28 +09:00
Johngreen bd48cafcc9 ci: IDC 서버 자동배포 파이프라인 구축
- Dockerfile: Turborepo 멀티스테이지 빌드 (Next.js standalone)
- docker-compose.prod.yml: PostgreSQL/Redis/Nginx/Web/Admin 프로덕션 스택
- deploy/poll-deploy.sh: cron 기반 자동배포 (매분 Gitea 폴링)
- deploy/nginx/default.conf: 리버스 프록시 설정
- next.config.ts: output standalone 추가
- .env.production.example: 환경변수 템플릿

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:28:09 +09:00