Back to all templates
Bolt.diy logo

Bolt.diy

Development1024MB+ RAM

Open-source, self-hosted version of Bolt.new — prompt-to-app AI builder that scaffolds and runs full-stack web apps in the browser

developmentaiboltdiyopen-sourceself-hosteddocker

Deploy Bolt.diy in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Bolt.diy

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy Bolt.diy on a VPS with Server Compass

Use the Bolt.diy template in Server Compass to deploy a self-hosted AI app builder on your VPS, then verify the web UI.

About 10 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a Bolt.diy app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for Bolt.diy

Use the template picker search to find Bolt.diy in the Server Compass template catalog.

Searching for Bolt.diy in the Server Compass template picker
4
Step 4

Select the Bolt.diy template

Choose the Bolt.diy template. Server Compass fills the app builder service, Docker command, runtime environment, and public web port.

Bolt.diy template selected in Server Compass
5
Step 5

Review the Bolt.diy settings

Confirm the app name and compose service. In this run, the app was named bolt-diy-demo and used host port 4239.

Reviewing Bolt.diy project settings and compose service
6
Step 6

Deploy Bolt.diy

Review the generated compose settings, confirm the Bolt.diy web port is available, and click Deploy.

Reviewing Bolt.diy web port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the Bolt.diy image, starts the container, and verifies the stack.

Server Compass deploying the Bolt.diy template on the VPS
8
Step 8

Confirm Bolt.diy is running

After deployment finishes, return to the Apps tab and confirm the Bolt.diy app is marked Running with its application URL available.

Bolt.diy template running in the Server Compass Apps tab
9
Step 9

Open Bolt.diy in the browser

Open the application URL in a browser. The Bolt.diy prompt interface confirms the AI app builder web UI is reachable.

The deployed Bolt.diy web UI loaded in a browser

After Bolt.diy Opens

  • Place Bolt.diy behind authentication or a VPN before exposing it publicly.
  • Add LLM provider API keys only in trusted browsers because Bolt.diy stores them client-side.
  • Use HTTPS before entering API keys or generating production code.
  • Pin the image version in production if you need reproducible app-builder behavior.
  • Review generated code before deploying it to any server.
  • Use a disposable API key while testing the first prompt flow.
  • Keep the Bolt.diy image updated for dependency and security fixes.

Verified Result

The Bolt.diy web interface loaded successfully from the deployed container.

Bolt.diy deployment questions

What does the Bolt.diy template deploy?

It deploys the Bolt.diy web UI for prompting and scaffolding full-stack apps in the browser.

Which port did the tutorial use?

The tutorial used host port 4239, which maps to the Bolt.diy web UI on container port 5173.

Does Bolt.diy need setup after deployment?

Yes. Open Settings, add the LLM provider keys you want to use, then test with a disposable prompt.

Should this become a blog post?

No. The deployment guide should live on the Bolt.diy template detail page and be linked from the reusable template deployment docs page.

After Deployment

After deploying Bolt.diy with Server Compass, complete these steps to finish setup

1

Visit http://YOUR_SERVER_IP:{{PORT}} and open Settings

2

Add at least one LLM provider API key (Anthropic Claude or OpenAI recommended)

3

Type a prompt like "build me a todo app with Vue" to verify the WebContainer boots

4

(Optional) Connect to a local Ollama instance via OLLAMA_API_BASE_URL for offline use

Need help? Check out our documentation for detailed guides.

Bolt.diy FAQ

Common questions about self-hosting Bolt.diy

How do I deploy Bolt.diy with Server Compass?

Simply download Server Compass, connect to your VPS, and select Bolt.diy from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Bolt.diy?

Bolt.diy requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Bolt.diy data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Bolt.diy backup and restore procedures.

How do I update Bolt.diy to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Bolt.diy image will be pulled and deployed with zero downtime.

Is Bolt.diy free to self-host?

Bolt.diy is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Bolt.diy?

Download Server Compass and deploy Bolt.diy to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass