Deploy Next.js on Deplexo
Next.js is detected as part of the Node.js framework. Deplexo reads your lock file to pick the package manager and recognizes next in your dependencies to apply Next.js-specific defaults. Standalone output mode is supported.
How it works
- Push your Next.js repo to GitHub, GitLab, Bitbucket, or Codeberg.
- Deplexo detects Next.js and generates a Dockerfile that runs
npm run buildthen starts the server withnpm start. If yournext.configsetsoutput: "standalone", the standalone build output is used directly. - Your app starts on its subdomain. Build and runtime logs stream to the dashboard.
Configuration
Next.js uses the node framework. Override commands in deplexo.yaml only if your setup requires non-default values.
framework: node
install: npm ci
build: npm run build
start: npm start
port: 3000For standalone output, set output: "standalone" in your next.config.js. No changes to deplexo.yaml are required — Deplexo detects standalone mode automatically.
What you get
- Automatic subdomain (your-app.deplexo.com) provisioned on first deploy.
- Build logs streamed live from the worker.
- Runtime logs accessible from the Logs tab.
- Environment variables managed in the dashboard, encrypted at rest, injected at runtime.
- Git webhooks trigger automatic redeploys on push.