EENE Dashboard upload to Gitea

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
EENE Dashboard
2026-06-17 16:59:34 +09:00
parent cf72281c6d
commit b3f2da203b
138 changed files with 13013 additions and 1929 deletions

View File

@@ -0,0 +1,12 @@
# Docker Compose 사용 시 (선택)
# 1. Windows PostgreSQL 서비스 중지 (5432 포트 충돌 방지)
# 2. backend\.env 의 DATABASE_URL 을 아래로 변경
# 3. docker compose up -d
DB_USER=eee_admin
DB_PASSWORD=eee_password
DB_NAME=eee_dashboard
DB_PORT=5432
# backend\.env:
# DATABASE_URL="postgresql://eee_admin:eee_password@localhost:5432/eee_dashboard"

29
_archive/render.yaml Normal file
View File

@@ -0,0 +1,29 @@
services:
- type: web
name: eene-dashboard-backend
runtime: node
rootDir: backend
buildCommand: npm install --include=dev && (npx prisma migrate deploy || true) && npx prisma db push && npx prisma generate && npm run build
startCommand: npx prisma db push && npm start
# 첨부 파일이 재배포 후에도 유지되도록 영구 디스크 (Render 유료 플랜 필요)
disk:
name: uploads-data
mountPath: /opt/render/project/src/backend/uploads
sizeGB: 1
envVars:
- key: DATABASE_URL
sync: false # Render 대시보드에서 직접 입력
- key: PORT
value: 4000
- key: FRONTEND_URL
sync: false # Vercel 배포 후 주소 입력
- key: JWT_SECRET
generateValue: true
- key: JWT_EXPIRES_IN
value: 7d
- key: UPLOAD_DIR
value: /opt/render/project/src/backend/uploads
- key: MAX_FILE_SIZE_MB
value: 20
- key: NODE_ENV
value: production