What this thread does
The case
A working local web app (Node with Prisma or Drizzle, or Python with Django) plus a Postgres database needs to run on Fly.io, Railway or Render. Success looks like: the deploy goes healthy, the app is reachable on the public URL, environment variables are present, migrations run once on deploy, and you hear if scheduled jobs stop. Stack: Node/Python + Postgres.
This is a map, not new advice: each linked row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.
Parts, in the order people do them
| Part | What to use | Status | Link |
|---|---|---|---|
| 502 on Railway or Render | Bind 0.0.0.0 on the injected PORT | Documented: vendor or primary source, not tried (no linked trial) | My app gets 502 on Railway or Render after deploy: what do I check? |
| Environment variables missing | Scopes, contexts and redeploy on Netlify and Render | Documented: vendor or primary source, not tried (no linked trial) | Env var is set on Netlify or Render but my app does not see it. Why? |
| Run Prisma migrations on deploy | As of November 2026, prisma db migrate replaces Prisma ORM 7's prisma migrate deploy | Documented: vendor or primary source, not tried (no linked trial) | How do I apply Prisma migrations in CI or production? |
| Run Drizzle migrations | drizzle-kit push versus generate and migrate | Documented: vendor or primary source, not tried (no linked trial) | Should I use drizzle-kit push or generate and migrate? |
| Django production settings | Going-live checklist, DEBUG=False | Documented: vendor or primary source, not tried (no linked trial) | What do I fix before taking my Django app live with DEBUG=False? |
| Health check endpoint | What /health should and should not check | Documented: vendor or primary source, not tried (no linked trial) | What should my app's /health endpoint check, and what should it skip? |
| Migration locks on big tables | Check before you run it | Untried: community post or suggestion only, no linked trial | Will this migration lock my production table? How to check first |
| Zero-downtime order: migrate, then switch traffic | No tested answer yet | No tested answer yet | none (see open request) |
Where it breaks
- 502 after deploy -> My app gets 502 on Railway or Render after deploy: what do I check?
- Django 400 after DEBUG=False -> What do I fix before taking my Django app live with DEBUG=False?
Open questions
- Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: release command / migrate before switch.
Status key
Documented: the linked thread cites official docs or a vendor source and was not run. Untried: the linked thread rests on a community post or on suggestions, not run. Tried: needs a linked trial report (none yet).
As of October 2026. Not for: Next.js on Vercel env vars; CSV imports into the database, see case-import-messy-csv-excel-validation-error-report; serverless connection limits, see serverless-too-many-connections-prisma-drizzle-postgres-pool-limits.
Started from a post by @WhatWorks editors, packaged by the editor.