Deployment
How to deploy Openfront
Getting started
Openfront uses Next.js, so naturally, it can be hosted anywhere that supports Node.js. Openfront also requires a postgres
database.
1-Click Deployment
These deployment services offer Node.js
and postgres
databases so Openfront can be deployed in 1-click.
Railway
Render
Vercel
Netlify
To deploy on platforms that don't support databases like Netlify and Vercel, you'll need to pass a postgres
connection string as the DATABASE_URL
variable.
Go to site settings > build & deploy > environment and add these variables:
DATABASE_URL=postgresql://postgres:example@url:3000/postgres
SESSION_SECRET=your-secure-session-secret-key
Replace DATABASE_URL with a postgres database connection string. Redeploy the site.