← All components

Render Hosting

Render hosting configuration for Next.js applications. Includes render.yaml configuration and deployment documentation. Render provides simple, scalable cloud hosting with built-in databases, caching, and CI/CD.

Copy the files below, or open this folder on GitHub. Each file is stamped with a limited-use licence, generator and date. SHA-256 is of the published catalog bytes, before the stamp.

id
render-hosting
stack
Next.js
version
1.0.0
compatibility
nextjs >=16 <17 · react >=19 <20
requires
nextjs-base
env vars
RENDER_ENVIRONMENT, RENDER_SERVICE_ID
Verified passing · daily buildIntegrity sha256:0342eac4f1671180

Files (3)

render.yaml · sha256:0342eac4f1671180…
// Licensed by BotKelp — https://www.botkelp.com

/**
 * Render Configuration
 * 
 * This file configures Render deployment for your Next.js application.
 * 
 * Source: https://render.com/docs/render-yaml
 * Verified: 2026-09-06
 */

services:
  - type: web
    name: nextjs-app
    runtime: node
    buildCommand: npm run build
    startCommand: npm start
    
    # Runtime settings
    env: node
    plan: free
    
    # Region for deployment
    region: oregon # oregon, ohio, frankfurt, singapore
    
    # Health check
    healthCheckPath: /api/health
    healthCheckInterval: 30
    
    # Environment variables
    envVars:
      - key: NODE_ENV
        value: production
      
      # Next.js specific variables
      # Uncomment and set these as needed
      # - key: NEXT_PUBLIC_BASE_URL
      #   value: https://your-app.onrender.com
      # - key: NEXT_PUBLIC_API_URL
      #   value: https://your-app.onrender.com/api
    
    # Automatic deployments
    autoDeploy: true
    
    # Branch to deploy
    deployOnGitPush: true
    
    # Root directory (if your app is not in the root)
    # rootDir: app
    
    # Dockerfile path (if using custom Dockerfile)
    # dockerfilePath: Dockerfile

# Database services (uncomment to add)
# services:
#   - type: postgres
#     name: postgres-db
#     plan: free
#     region: oregon
#     databaseName: mydb
#     user: postgres
#     password: ${POSTGRES_PASSWORD}
#     
#   - type: redis
#     name: redis-cache
#     plan: free
#     region: oregon
#     
#   - type: mysql
#     name: mysql-db
#     plan: free
#     region: oregon
#     databaseName: mydb
#     user: root
#     password: ${MYSQL_PASSWORD}