logo

FUSE

DOCS

PurchaseBack to the Dashboard

Deployment

Next.js applications can be deployed to various platforms. Here are two options we've tested:

1. Vercel (Default)

Vercel, created by the team behind Next.js, is the default and recommended deployment platform for Next.js applications.

To deploy to Vercel:

  1. Push your code to a Git repository (GitHub, GitLab, or Bitbucket)
  2. Import your project into Vercel
  3. Vercel will automatically detect Next.js and configure the build settings
  4. Deploy with a single click

Vercel offers features like automatic HTTPS, CDN, continuous deployment, and more.

2. Coolify

Coolify is an open-source, self-hostable alternative that we've also tested for deploying Next.js applications.

To deploy with Coolify:

  1. Set up a Coolify instance on your own server
  2. Connect your Git repository to Coolify
  3. Configure the build and start commands:
    • Build Command: npm run build
    • Start Command: npm run start
  4. Deploy your application

Coolify provides features like automatic HTTPS, easy rollbacks, and database management, all on your own infrastructure.

Regardless of the deployment service you choose, ensure that all environment variables are properly set and that your application is thoroughly tested in a production-like environment before deploying.