Render
Render supports Docker deployments with persistent disks and free TLS.
Blueprint Deploy
Section titled “Blueprint Deploy”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: 1Then go to Render Dashboard → New Blueprint, select your repo, and deploy.
Manual Deploy
Section titled “Manual Deploy”1. Create a Web Service
Section titled “1. Create a Web Service”- Go to dashboard.render.com → New → Web Service
- Connect your GitHub repo
- Select Docker as the runtime
- Set the health check path to
/health
2. Add a Persistent Disk
Section titled “2. Add a Persistent Disk”Under Disks, add:
- Name:
wcp-data - Mount Path:
/data - Size: 1 GB (free tier)
3. Set Environment Variables
Section titled “3. Set Environment Variables”| Key | Value |
|---|---|
WCP_DB_PATH | /data/sync.db |
WCP_CONFIG_PATH | /data/config.json |
WCP_CORS_ORIGINS | https://your-dashboard.onrender.com |
4. Deploy
Section titled “4. Deploy”Click Create Web Service. Render builds from the Dockerfile and deploys automatically.
Your instance will be available at https://wcp-xxxx.onrender.com.
Auto-Deploy
Section titled “Auto-Deploy”Render automatically redeploys on every push to your default branch. To disable, toggle off Auto-Deploy in service settings.
Dashboard
Section titled “Dashboard”Deploy the dashboard as a separate Static Site on Render:
- Build command:
cd dashboard && npm ci && npm run build - Publish directory:
dashboard/dist - Set env
VITE_API_URLto your WCP API service URL