Back to catalog
MariaDB logo

Self-Host with Docker · Yantr

MariaDB

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

About

MariaDB is an open-source relational database server that is a drop-in replacement for MySQL. It offers more features, better performance, and stricter security than MySQL while maintaining compatibility. It's the default database for many popular applications including WordPress, Nextcloud, and many self-hosted apps. Features include multiple storage engines (InnoDB, Aria, ColumnStore), horizontal scaling with MariaDB ColumnStore, real-time analytics with MariaDB ColumnStore, JSON support, GIS support, and compatibility with MySQL protocols and tools.

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.

Use Cases

  • 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

Port Protocol Label
3306 TCP Database

Docker Image

mariadb:latest

Service Name

mariadb

Notes

  • 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 App Pages

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

Page generated 2026-03-06T16:43:27.553Z