The repository's render.yaml is a Render Blueprint for Desk. Before you start, read what every deployment needs.
render.yaml sets | Value |
|---|---|
| Service | A web service from the image ghcr.io/modelriver/desk:1 |
| Instance type | Starter. A disk needs a paid instance type |
| Disk | desk-data, 1 GB, mounted at /data |
| Health check | /robots.txt |
| Secrets | DESK_SECRET_KEY and DESK_IDENTITY_SECRET, generated on the first deploy |
| Visitor addresses | Read from the True-Client-IP header (CLIENT_IP_HEADER), for rate limits |
A service with a disk runs as one instance, which is what Desk needs.
1. Create the service
Open Deploy to Render and sign in to Render. It reads render.yaml from the repository. Name the service, paste your ModelRiver API key when asked for MODELRIVER_API_KEY, and apply.
2. Create the first admin
When the deploy is live, open the service's Shell tab and run:
desk-entrypoint node /app/scripts/create-admin.tsIt asks for the admin's email, name and password.
3. Set its address
Desk is at the onrender.com address shown at the top of the service. Under Environment, add APP_URL with that address (or your own domain, below). Open /dashboard and sign in; your first sign-in sets up two-factor authentication.
Your own domain
Under Settings → Custom Domains, add your domain and create the DNS records Render shows. Render issues the certificate. Then set APP_URL to https:// and your domain.
Set up email
Recommended. Raising and answering tickets, email verification for account lookups, and team notifications all need email (what changes without it). Use Resend, Postmark or Amazon SES, with EMAIL_FROM on a domain the provider has verified and SUPPORT_REPLY_TO set to a mailbox your team reads.
Under Environment, add:
EMAIL_PROVIDER=resendRESEND_API_KEY=re_…EMAIL_FROM="Acme Support <[email protected]>"SUPPORT_REPLY_TO=support@acme.comRender redeploys with them.
Then check it with Dashboard → Settings → Send a test email.
Running it
- Logs: the Logs tab.
- Change settings: Environment. Saving redeploys the service. Never change
DESK_SECRET_KEY. - Another admin, or a lost password or phone: run the command from step 2 again in the Shell tab.
- More room: increase the disk size under Disks.
- Change the blueprint: fork the repository, edit
render.yaml(instance type, disk size, a pinned image tag like1.0.1), and create the Blueprint from your fork. - Update: Manual Deploy → Deploy latest reference pulls the newest image for the tag. Render doesn't redeploy on its own when a new version is published; to update on a schedule, call the service's deploy hook URL (under Settings) from a scheduled job. See Updating.