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>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# ===========================================
|
||||
# Re:Link Production Environment Variables
|
||||
# Copy to .env.production and fill in values
|
||||
# ===========================================
|
||||
|
||||
# Database
|
||||
DB_USER=relink
|
||||
DB_PASSWORD=CHANGE_ME_STRONG_PASSWORD
|
||||
DB_NAME=relink_prod
|
||||
|
||||
# Redis
|
||||
REDIS_PASSWORD=CHANGE_ME_STRONG_PASSWORD
|
||||
|
||||
# NextAuth
|
||||
NEXTAUTH_URL=http://your-domain.com
|
||||
NEXTAUTH_SECRET=GENERATE_WITH_openssl_rand_base64_32
|
||||
|
||||
# App
|
||||
NODE_ENV=production
|
||||
Reference in New Issue
Block a user