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


Community-developed MySQL fork with enhanced features
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the MariaDB template in Server Compass to deploy a persistent MariaDB database on your VPS, then verify it from the app detail and DB Admin view.
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

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

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

Choose the MariaDB template. Server Compass fills the Docker image, persistent volume, database name, database user, and generated credentials.

Confirm the app name, host port, database name, username, and generated passwords. In the pilot run, the app was named mariadb-demo and the host port was changed to 13307 to avoid conflicts.

Review the final settings, click Deploy Now, and let Server Compass create the MariaDB container and persistent volume on the VPS.

Keep the deployment modal open while Server Compass prepares the project, pulls the Docker image, starts the container, and checks the service status.

After deployment finishes, return to the Apps tab and confirm the MariaDB app is marked Running with its database connection section available.

Open the MariaDB app details and switch to DB Admin. Seeing the DB Admin screen return OK confirms Server Compass can reach the deployed database service without exposing the generated passwords.

Server Compass showed one running MariaDB container, host port 13307 mapped to container port 3306, and the DB Admin page returned OK for the deployed app database.
It deploys the official MariaDB Docker image with persistent storage, an initial database, an app user, and generated passwords.
The pilot used host port 13307 mapped to MariaDB port 3306 to avoid conflicts with any existing database service.
No. The deployment guide should live on the MariaDB template detail page and be linked from the reusable template deployment docs page.
Deploy MariaDB the traditional way with SSH and Docker Compose.
Begin by establishing a secure connection to your server through the terminal.
# Access your VPS
ssh root@YOUR_SERVER_IP
# With SSH key authentication
ssh -i ~/.ssh/your-private-key root@YOUR_SERVER_IPFirst time? Ensure Docker is installed first: curl -fsSL https://get.docker.com | sh
Create a dedicated folder for your application files.
# Create and navigate to project directory
mkdir -p ~/apps/mariadb
cd ~/apps/mariadbCreate the following docker-compose.yml in your project directory:
services:
mariadb:
image: mariadb:11
ports:
- "3306:3306"
environment:
- MARIADB_ROOT_PASSWORD=<your-root-password>
- MARIADB_DATABASE=app
- MARIADB_USER=app
- MARIADB_PASSWORD=<your-password>
volumes:
- mariadb_data:/var/lib/mysql
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "healthcheck.sh --connect --innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
volumes:
mariadb_data:
PORTHost port(default: 3306)ROOT_PASSWORDRoot passwordDATABASEDatabase name(default: app)USERDatabase user(default: app)PASSWORDUser passwordRun Docker Compose to launch your application.
# Launch the stack
docker compose up -d
# Verify container status
docker compose ps
# Follow the logs
docker compose logs --followConfigure UFW to allow traffic to your application.
# Allow the application port through firewall
sudo ufw allow 3306/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:3306Server Compass makes deploying MariaDB effortless. Visual setup, one-click deploy, done.
Common questions about self-hosting MariaDB
Simply download Server Compass, connect to your VPS, and select MariaDB from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
MariaDB requires a minimum of 512MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard MariaDB backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest MariaDB image will be pulled and deployed with zero downtime.
MariaDB 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.
Download Server Compass and deploy MariaDB to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass