Skip to content

Maria DBλ︎

MariaDB Foundation logo

MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system, intended to remain free and open-source software under the GNU General Public License.

Development is led by some of the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle Corporation in 2009.

MariaDB Foundation

MariaDB - Wikipedia

MariaDB Primer

Dockerλ︎

Docker Compose for MariaDB

compose.yaml
services:
  db:
    image: mariadb
    restart: always
    environment:
      # MARIADB_RANDOM_ROOT_PASSWORD: yes
      MARIADB_ROOT_PASSWORD: practicalli
      MARIADB_MYSQL_LOCALHOST_USER: clojure
      MARIADB_DATABASE: service-db
    healthcheck:
      test: [ "CMD", "healtcheck.sh --su-mysql --connect --innodb_initialized" ]
      timeout: 45s
      interval: 10s
      retries: 10

  adminer:
    image: adminer
    restart: always
    ports:
      - 8080:8080

MariaDB Official Docker Image

Install & Use MariaDB via Docker

MariaDB healthcheck script MariaDB healthcheck script - source