---
title: How to Deploy Bolt.new Projects on Vultr Using Coolify
url: https://docs.vultr.com/how-to-deploy-bolt-new-projects-on-vultr-using-coolify
description: Generate app with Bolt.new, deploy via Coolify on Vultr, and enable CI/CD with GitHub.
publish_date: 2026-04-02T17:02:28.588812Z
last_updated: 2026-04-16T00:00:00.077250Z
author: Martin Sustak
header_image: https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2538/de557752-83bf-4382-b494-7d7f059bb85f.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

[Bolt.new](https://bolt.new/) is a browser-based AI agent by StackBlitz that generates, executes, and previews full-stack web applications directly in the browser without requiring any local development setup. [Coolify](https://coolify.io/) is an open-source, self-hosted platform-as-a-service that manages Docker container builds, Traefik reverse proxy routing, and automated Let's Encrypt certificate provisioning.

This guide explains how to generate a full-stack application with Bolt.new, export the codebase to GitHub, and deploy it on Vultr using Coolify.

## Prerequisites

Before you begin, you need to:

* Have a [Bolt.new](https://bolt.new/) account.
* Have a [GitHub](https://github.com) account.
* [Deploy the Vultr Marketplace Application for Coolify](https://docs.vultr.com/how-to-use-vultr-s-coolify-marketplace-application#deploy-the-vultr-marketplace-application-for-coolify) with at least 2 GB RAM and 1 CPU core.
* Configure a [DNS A record](https://docs.vultr.com/products/network/dns/management/manage-records) pointing to your server's IP address (for example, `app.example.com`).

## Create an Application Using AI

Bolt.new runs entirely in the browser and can generate a working application from a single prompt. The generated project requires a Dockerfile at minimum so Coolify can containerize and deploy it. For applications with multiple services, such as a separate backend and database, include a `docker-compose.yml` in your prompt.

1. Navigate to [Bolt.new](https://bolt.new) in a web browser and log in with your account.

1. Enter a detailed description of your application in the prompt field. Specify the technology stack, required features, and request a Dockerfile for containerized deployment. For multi-service projects, also request a `docker-compose.yml` file. Bolt.new generates the complete source code, directory structure, and container configuration.

1. Click **Build Now** to start generating the application.

1. Wait for the Bolt agent to finish creating the application.

1. Test the application in the live preview panel. Confirm that all requested features work as expected.

1. Click the **GitHub icon** in the top right corner.

1. Click **Log in to GitHub** and authorize Bolt.new to access your repositories.

1. Enter a name for your repository.

1. Click **Create Repository**.

1. Bolt.new pushes the complete source code to the new GitHub repository. The repository includes all generated files, including the Dockerfile or `docker-compose.yml`.

## Access the Coolify Dashboard

Coolify runs as a Vultr Marketplace application and exposes a web-based control panel on port 8000. The first login creates the administrator account that manages all subsequent deployments.

1. Open your instance's Management Page in the [Vultr Console](https://console.vultr.com/) and scroll down to **App Instructions**. The Coolify endpoint URL appears there in the format `http://SERVER_IP:8000`.

1. Open the URL in a browser. The first-run wizard asks for an email address and password. Enter the credentials for your administrator account.

1. Coolify opens the dashboard after the account is created. The administrator account controls all deployments, team members, and server settings.

## Connect GitHub Repository

Linking a GitHub account gives Coolify permission to clone your repositories during each build. The connection is established through GitHub's OAuth flow and persists across all projects.

1. Click **Sources** in the Coolify dashboard.

1. Click **Add Source** and select **GitHub**.

1. Coolify redirects to GitHub for OAuth authorization. Click **Authorize** to grant access.

1. GitHub redirects back to Coolify after successful authorization. Coolify displays your GitHub account in the Sources list.

## Create a New Project

Coolify organizes deployments into projects. Each project can contain multiple applications, databases, and services that share a common network and configuration namespace.

1. Click **Projects** in the Coolify dashboard.

1. Click **Add Project**.

1. Enter a project name, such as `my-bolt-app`.

1. Click **Create**. Coolify displays the project details page.

## Deploy the Application

Coolify clones the repository, builds a Docker image from the Dockerfile or `docker-compose.yml`, and launches the containers on the server. Traefik handles incoming traffic routing automatically.

1. Click **Add Resource** in the project details page.

1. Select **Application** as the resource type.

1. Choose **GitHub** as the source.

1. Select your Bolt.new application repository from the dropdown.

1. Enter the branch name, typically `main`.

1. Coolify scans the repository and identifies the container configuration. Select **Docker Compose** as the build pack for multi-container applications.

1. Click **Continue**.

1. Coolify generates a temporary domain in the format `RANDOM_ID.SERVER_IP.sslip.io` for immediate testing. Configure a custom domain later for production use.

1. Click **Save**. Coolify redirects to the application configuration page.

## Configure Environment Variables

Environment variables allow you to pass runtime configuration and secrets to your application without committing sensitive data to the repository. Coolify encrypts stored values and injects them into containers during startup.

1. Open the application details page.

1. Click **Environment Variables**.

1. Click **+Add** to create a new variable.

1. Enter the variable name and value. Common variables for Bolt.new applications include:

    * `DATABASE_URL`: PostgreSQL connection string, such as `postgresql://user:pass@db:5432/dbname`
    * `API_KEY`: External service API key, such as `sk_live_abc123`
    * `NODE_ENV`: Runtime environment, such as `production`
    * `NEXT_PUBLIC_API_URL`: Frontend API endpoint, such as `https://api.example.com`

1. Click **Save** after adding all required variables.

## Start the Deployment

After configuring the repository and environment variables, start the build process to compile and launch the application.

1. Click **Deploy** to trigger the deployment process.

1. Coolify queues the build. Open **Logs** to stream the output as each stage runs.

    The build pipeline executes the following steps in order:
    1. Cloning the repository
    1. Building Docker images for each service
    1. Starting containers
    1. Configuring Traefik routing rules
    1. Requesting TLS certificates

    The pipeline duration depends on application size and server resources.

1. When deployment completes successfully, the application status changes to **Running**.

## Verify Deployment

Confirm that the application responds correctly before configuring a production domain.

1. Click **Links** in the application details page to view accessible URLs.

1. Click the Coolify-generated domain link to open your application.

1. Your application loads at `http://RANDOM_ID.SERVER_IP.sslip.io`. Verify that all features function correctly.

## Configure Custom Domain with HTTPS

Replace the temporary `sslip.io` domain with your custom domain for production use. Coolify automatically provisions Let's Encrypt TLS certificates.

1. Go to the application details page.

1. Click **Configuration** in the left sidebar.

1. Locate the **Domains** field and replace the Coolify-generated domain with your custom domain. Enter `https://app.example.com` in the field.

1. Enable **Automatic HTTPS** to provision Let's Encrypt certificates.

1. Click **Save**.

1. Click **Redeploy** to apply the domain configuration.

1. Coolify triggers a new build, registers the domain with Traefik, and fetches a certificate.

1. Visit the domain in a browser. A padlock in the address bar confirms the certificate is active and HTTPS is working.

## Add a Database

Coolify provisions managed database containers that run alongside your application on the same internal Docker network. This keeps the database credentials and traffic isolated from the public internet.

1. Return to the project details page.

1. Click **Add Resource**.

1. Select **Database**.

1. Choose **PostgreSQL** as the database type.

1. Provide a name for the database instance, such as `app-db`.

1. Click **Create**. Coolify provisions the container and generates access credentials.

1. Locate and copy the internal connection string on the database details page.

1. Navigate to the **Environment Variables** tab of your application.

1. Create or update the `DATABASE_URL` entry and paste the connection string as its value.

1. Click **Restart** to reconnect the application with the new database.

## Configure CI/CD Pipeline

Coolify provides continuous deployment capabilities through GitHub webhooks. Configure automatic deployments to rebuild and redeploy your application whenever you push changes to the repository.

### Enable Automatic Deployments

1. Open the application details page.

1. Click **Settings**.

1. Toggle on **Automatic Deployment**.

1. Coolify generates and displays a webhook URL. Copy it.

1. Switch to your GitHub repository and open **Settings**.

1. Select **Webhooks** from the sidebar and click **Add webhook**.

1. Paste the webhook URL into the **Payload URL** field.

1. Choose **application/json** as the content type.

1. Under events, select **Just the push event**.

1. Click **Add webhook**.

1. GitHub sends a test payload to Coolify. Verify that the webhook shows a green checkmark.

### Test the CI/CD Pipeline

Verify that Coolify triggers a new build when code changes are pushed to the repository.

1. Edit any file in your application code.

1. Stage the changes.

    ```console
    $ git add .
    ```

1. Commit the changes.

    ```console
    $ git commit -m "Update application feature"
    ```

1. Push to GitHub.

    ```console
    $ git push origin main
    ```

1. Coolify detects the push event and starts a new deployment automatically.

1. Open the application details page in Coolify.

1. Click **Deployments** to view the deployment history.

1. The most recent entry appears at the top with a **Building** status.

1. Click **Logs** to follow the build output in real time.

1. When the build completes, the deployment status changes to **Finished** and the application restarts with the updated code.

### Configure GitHub Actions for Testing

Run automated tests before deployment by adding a GitHub Actions workflow. The webhook fires only after all workflow checks pass, ensuring that broken code never reaches production.

1. Create the GitHub Actions workflow directory.

    ```console
    $ mkdir -p .github/workflows
    ```

1. Open a new workflow file in a text editor.

    ```console
    $ nano .github/workflows/ci.yaml
    ```

1. Paste the following configuration into the file. Update the test commands to match your application stack.

    ```yaml
    name: CI

    on:
      push:
        branches: [ main ]
      pull_request:
        branches: [ main ]

    jobs:
      test:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4

          - name: Run tests
            run: |
              # Add your test commands here
              # Example for Node.js:
              # npm install && npm test
              # Example for Go:
              # go test ./...
              echo "Tests passed"
    ```

    Save and close the file.

1. Stage the workflow file.

    ```console
    $ git add .github/workflows/ci.yaml
    ```

1. Commit the changes.

    ```console
    $ git commit -m "Add CI workflow"
    ```

1. Push to GitHub.

    ```console
    $ git push origin main
    ```

1. GitHub Actions runs the tests on every push. Coolify deploys the application only after the workflow completes successfully.

## Conclusion

You have successfully built a full-stack application with Bolt.new, pushed the codebase to GitHub, and deployed it on Vultr using Coolify. The application now runs behind a custom domain with automatic HTTPS and redeploys whenever you push new code. For more information, visit the [official Coolify documentation](https://coolify.io/docs).
