Maria DBλ︎
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.
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
Install & Use MariaDB via Docker
MariaDB healthcheck script MariaDB healthcheck script - source