Settings
Your server must listen on the port in the
PORT environment variable.
Static Next.js
For Next.js in CSR or SSG mode, setoutput: "export" in next.config.js. Servbase builds the app and serves the out folder.
How builds are isolated
Install and build commands run on the node as your app’s own user, inside a sandbox:- only the build folder is writable, and the system is read-only;
- other apps, other users and the server’s files are not visible;
- privilege escalation (for example
sudo) is blocked; - memory, processes, CPU and build time are limited.
Automatic deploys (CI/CD)
Every app deployed from GitHub (static HTML, PHP, Python, Node.js, Next.js and React) deploys automatically when someone pushes to the app’s branch.- Automatic deploys are on by default. Switch them off in the app’s Settings tab.
- Change the deployed branch in the same place.
- You get a notification when a push starts a deployment, and the deployment appears in the app’s Deployments list.
.env, storage/ (Laravel) and writable/ (CodeIgniter), so uploads, sessions and logs survive. Static HTML and PHP apps uploaded without GitHub are still updated through the file manager.