Deploy the gateway on Northflank
One-click stack template deploy of the systemprompt.io gateway on Northflank with a managed Postgres addon.
On this page
Northflank is a hosted platform that provisions services, addons, and volumes from a stack template. This channel deploys the systemprompt-gateway server, a managed Postgres addon, and a persistent volume in one workflow.
Pick Northflank when you want a managed Postgres addon and persistent storage provisioned together with the gateway.
One-click deploy
- Click the button. The
systemprompt-iotemplate opens pre-filled in your Northflank account; save it. - Add at least one of
ANTHROPIC_API_KEY/OPENAI_API_KEY/GEMINI_API_KEYas an argument override (the gateway refuses to boot without a provider key). - Run the template. The workflow provisions a Postgres addon, deploys the gateway with a public HTTPS endpoint on port 8080, links a secret group that wires
DATABASE_URLfrom the addon's admin connection string andEXTERNAL_URLfrom the generated domain, and attaches a persistent volume for web assets, storage, and profile state. - First boot runs migrations and the publish pipeline; the deploy goes healthy in about 2 minutes. The gateway may restart once or twice while secrets and the volume land; this is expected.
- Verify at
https://<generated>.code.run/api/v1/health, then open the domain root for the admin UI.
Notes
- Plans default to
nf-compute-20(fits the free developer allowance); resize the addon and gateway in your project after deploy if you need more headroom. - The volume pins the gateway to a single instance (
ReadWriteOnce). - To create the template yourself, use Templates > Create template and paste
deploy/northflank/template.json, then follow steps 2-5.
For the complete recipe, see the full Northflank guide in the template repository. For templates, addons, and volumes, see the Northflank documentation.