Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

36 lines
870 B
YAML

# Next.js Application with PostgreSQL
# Full-stack Next.js app with database
services:
- type: web
name: nextjs-app
runtime: node
plan: free
region: oregon
branch: main
autoDeploy: true
buildCommand: npm ci && npm run build
startCommand: npm start
healthCheckPath: /api/health
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: postgres
property: connectionString
- key: NEXTAUTH_URL
value: https://nextjs-app.onrender.com
- key: NEXTAUTH_SECRET
sync: false # User provides in Dashboard
- key: JWT_SECRET
generateValue: true
databases:
- name: postgres
databaseName: nextjs_production
user: nextjs_user
plan: free
postgresMajorVersion: "15"
ipAllowList: [] # Internal access only