Back to catalog
MariaDB logo

Self-Host with Docker · Yantr

MariaDB

Fast, open-source MySQL-compatible database with enhanced features and better performance.

Ports

1

Deps

0

Use Cases

4

About

What MariaDB does

MariaDB is an open-source, MySQL-compatible relational database server. It supports multiple storage engines, JSON and GIS features, and offers improved performance and additional features used by apps like WordPress and Nextcloud—serving as a drop-in MySQL replacement.

Install Flow

How to self-host MariaDB

MariaDB can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what MariaDB does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.

If you searched for MariaDB Docker, MariaDB Docker Compose, or self-host MariaDB, this page is the direct landing page for that app in Yantr's catalog.

After deployment, Yantr also lets you publish additional ports later from the stack page using Docker-style syntax. Use mappings like 8080:8080 for a fixed host port or just 8080 to let Docker assign a random host port for container port 8080.

Use Cases

What people run it for

Run the database backend for Nextcloud, WordPress, or other PHP applications.
Store application data for your custom projects with full SQL capabilities.
Use as a drop-in replacement for MySQL in existing applications.
Build analytics databases with ColumnStore for real-time aggregations.

Technical Details

Ports, image, and service metadata

Ports

These are the standard container ports Yantr knows about for MariaDB. You can keep the default mapping, remap them, or publish extra ports later after deployment with Docker syntax such as 3000:3000 or 3000.

Port Protocol Label
3306 TCP Database

Docker Image

mariadb:latest

Service Name

mariadb

Notes

Things to know before you deploy

! MySQL-compatible - most MySQL clients and tools work directly
! Set MYSQL_ROOT_PASSWORD environment variable for root access
! Data persists in the mariadb_data volume

Related Apps

More tools you might pair with MariaDB

More App Pages

Keep browsing the Yantr catalog

Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside MariaDB.

Page generated 2026-05-03T17:57:37.943Z