Deploy to Render
Render runs Docker images directly and supports persistent disks — a good fit for Backers since SQLite needs a real filesystem.
Option A: Blueprint (recommended)
Add render.yaml to your repo (or create one in the dashboard):
services:
- type: web
name: backers
runtime: docker
dockerfilePath: ./Dockerfile
plan: starter # disks require a paid instance type
disk:
name: backers-data
mountPath: /data
sizeGB: 1
healthCheckPath: /api/health
envVars:
- key: JWT_SECRET
generateValue: true
- key: PORT
value: '8080'
Then New → Blueprint in the Render dashboard and pick the repo.
Option B: Dashboard
- New → Web Service → Build from a Docker image (or "Existing image"
ghcr.io/hieudoanm/backers:latest— make the package public or connect GHCR) - Or Build from repo with runtime
Dockerif you want Render to build theDockerfileitself. - Under Disks, add a disk mounted at
/data(min 1 GB, paid plans only). - Env vars:
JWT_SECRET(generate),PORT=8080. - Health check path:
/api/health.
Render injects PORT automatically — Backers reads it, so no extra config is
needed.
Persistent data
The disk at /data survives deploys and restarts. Back up via GET /api/backup
(admin token) or Render's disk snapshots.
Caveats
- Disks are single-instance — don't scale beyond 1 instance.
- Free/starter-without-disk instances lose all data on redeploy; the disk is required for anything real.