Skip to content

Render

Render supports Docker deployments with persistent disks and free TLS.

Add a render.yaml to the repo root:

services:
- type: web
name: wcp
runtime: docker
plan: starter
healthCheckPath: /health
envVars:
- key: WCP_DB_PATH
value: /data/sync.db
- key: WCP_CONFIG_PATH
value: /data/config.json
- key: WCP_CORS_ORIGINS
value: https://your-dashboard.onrender.com
disk:
name: wcp-data
mountPath: /data
sizeGB: 1

Then go to Render Dashboard → New Blueprint, select your repo, and deploy.

  1. Go to dashboard.render.comNewWeb Service
  2. Connect your GitHub repo
  3. Select Docker as the runtime
  4. Set the health check path to /health

Under Disks, add:

  • Name: wcp-data
  • Mount Path: /data
  • Size: 1 GB (free tier)
KeyValue
WCP_DB_PATH/data/sync.db
WCP_CONFIG_PATH/data/config.json
WCP_CORS_ORIGINShttps://your-dashboard.onrender.com

Click Create Web Service. Render builds from the Dockerfile and deploys automatically.

Your instance will be available at https://wcp-xxxx.onrender.com.

Render automatically redeploys on every push to your default branch. To disable, toggle off Auto-Deploy in service settings.

Deploy the dashboard as a separate Static Site on Render:

  1. Build command: cd dashboard && npm ci && npm run build
  2. Publish directory: dashboard/dist
  3. Set env VITE_API_URL to your WCP API service URL