Back to all templates
MindsDB logo

MindsDB

Development4096MB+ RAM

AI layer for existing databases - bring ML to your data

aimldatabasepredictionsautoml

Deploy MindsDB in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select MindsDB

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy MindsDB on a VPS with Server Compass

Use the MindsDB template in Server Compass to deploy an AI layer for existing databases on your VPS, then verify the HTTP web UI in a browser.

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 MindsDB 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 MindsDB

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

Searching for MindsDB in the Server Compass template picker
4
Step 4

Select the MindsDB template

Choose the MindsDB template. Server Compass fills the MindsDB service, persistent storage volume, HTTP web/API port, and MySQL-compatible API port.

MindsDB template selected in Server Compass
5
Step 5

Review the MindsDB settings

Confirm the app name and compose services. In this run, the app was named mindsdb-demo and used host port 47334.

Reviewing MindsDB project settings and compose services
6
Step 6

Deploy MindsDB

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

Reviewing MindsDB environment variables and port before deployment
7
Step 7

Watch the deployment progress

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

Server Compass deploying the MindsDB template on the VPS
8
Step 8

Confirm MindsDB is running

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

MindsDB template running in the Server Compass Apps tab
9
Step 9

Open MindsDB in the browser

Click Open Application or open the application URL in a browser. The MindsDB web UI confirms the HTTP service is reachable.

The deployed MindsDB web UI loaded in a browser

After MindsDB Opens

  • Do not expose MindsDB directly to the public internet without HTTPS and an additional access-control layer; the template has no authentication by default.
  • Use a VPN, IP allowlist, firewall rule, or authenticated reverse proxy for production access.
  • Connect only intended data sources and use least-privilege credentials for each external database.
  • Keep the MindsDB image updated for security and integration fixes.
  • Monitor memory and disk usage because MindsDB can become resource-intensive when models, integrations, and cached data grow.

Verified Result

The MindsDB web UI loaded successfully in a browser.

MindsDB deployment questions

What does the MindsDB template deploy?

It deploys the MindsDB container with persistent `/root/mindsdb_storage` storage, an HTTP web/API port, and a MySQL-compatible API port.

Which port did the tutorial use?

The tutorial used host port 47334, which maps to the MindsDB web UI on container port 47334.

Why does the browser verification stop at the first web UI screen?

A fresh MindsDB deployment is considered reachable when the HTTP web UI loads. The tutorial does not connect external databases or upload private data.

Should this become a blog post?

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

Why Self-Host MindsDB?

MindsDB brings machine learning directly to your existing databases using SQL syntax. Self-hosting means your data never leaves your infrastructure — predictions are made where your data lives. This eliminates the latency and security concerns of sending data to external ML APIs.

Create ML models using familiar SQL syntax — no Python required
Data stays in your database — predictions happen locally
Connect to PostgreSQL, MySQL, MongoDB, and 100+ data sources
Real-time predictions as part of your existing SQL queries
Fine-tune models on your proprietary data without external exposure

MindsDB vs Alternatives

MindsDB vs BigQuery ML

BigQuery ML locks you into Google Cloud. MindsDB is open-source and works with any database on any infrastructure.

MindsDB vs Amazon SageMaker

SageMaker requires data science expertise. MindsDB lets SQL developers build and deploy ML models without learning Python.

MindsDB vs H2O.ai

H2O is powerful but complex. MindsDB integrates directly into your existing database workflow with zero infrastructure changes.

Why Deploy MindsDB with Server Compass?

Server Compass deploys MindsDB with the correct memory allocation (4GB+ recommended) and persistent storage for your trained models. It pre-configures connections so MindsDB can reach your existing database containers.

Download Server Compass

After Deployment

After deploying MindsDB with Server Compass, complete these steps to finish setup

1

Access the MindsDB editor

2

Connect your databases

3

Create predictors with SQL syntax

Need help? Check out our documentation for detailed guides.

MindsDB FAQ

Common questions about self-hosting MindsDB

How do I deploy MindsDB with Server Compass?

Simply download Server Compass, connect to your VPS, and select MindsDB 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 MindsDB?

MindsDB requires a minimum of 4096MB RAM. We recommend a VPS with at least 8192MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing MindsDB data?

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

How do I update MindsDB to the latest version?

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

Is MindsDB free to self-host?

MindsDB 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 MindsDB?

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

Download Server Compass