Host a Next.js app with PostgreSQL and HTTPS
Build it with the AI or bring a repository. Next.js runs as a long-lived Node server on Fullsea, next to its database, with logs and metrics you can read.
What runs, and where the data lives
- AddressHTTPS addressYour own domain when you add one
- Web serviceNext.js servernext start, server components and API routes · Small · 512 MiB
- DatabasePostgreSQLPostgreSQL · Nano · 128 MiB · 1 GiB disk
Needs 1.5 vCPU · 640 MiB memory · 1 GiB storage.
- Daily backups, kept 7 days
- 1 custom domain
- Alerts by email
How Next.js runs here
Fullsea runs your Next.js app the way next start runs it on a server: one long-lived Node process per replica. That means the whole framework works as written — server components, route handlers, server actions, middleware, image optimisation — and there are no function timeouts or cold starts to design around. Background work can run in the same process or, better, in a separate worker app.
A repository with a package.json is built automatically: npm install, npm run build, then npm start on Node 22. If you need a different setup, add a Dockerfile and it is used instead. Make sure npm start runs next start on the port in $PORT.
Data and configuration
- PostgreSQL on the private network, with
DATABASE_URLset on the app. Prisma, Drizzle and plainpgall connect the same way. - Environment variables on the app or the project, encrypted at rest and read by the server at runtime. Prefer server-side configuration to values inlined into the client bundle at build time.
- Releases: each deploy builds a new image and switches traffic once the health check passes; roll back to an earlier live release in one step.
With the AI
Ask the builder for a Next.js app and it writes one, creates the database, and deploys it; ask for changes in the same chat. Or connect your own coding agent through MCP and ask it to deploy your repository to Fullsea. Either way, Diagnose with AI on a failed build reads the build log and the events for you.
Questions, answered.
Do server actions and API routes work?
Yes. The app runs as a Node server, so everything next start supports works, with no per-request time limit imposed by the platform.
Can I use static export instead?
Yes. Add a Dockerfile that builds the export and serves it from nginx, or ask the AI to set it up — smaller and faster when you do not need server features.
How do I run scheduled tasks?
Add a cron job to the project: it runs your script on a schedule in a time zone you choose, with the same environment as the app. Avoid timers inside the web process.
Does image optimisation work?
Yes, with next start it runs on the server. Size the app for it if your pages serve many large images.
Can I run several replicas?
Yes. Keep sessions and caches out of process memory — in PostgreSQL or Redis — so any replica can answer any request.
Start with one sentence.
Describe it, and Fullsea builds it, deploys it with its database and keeps it running — with a full dashboard beside the chat.