Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.88 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.88 KB

MariaDB

Docker image for MariaDB version 10.4.12

Please refer to the MariaDB Documentation for more in-depth information.

As a quick example this will bring up an instance of MariaDB, and allow you to log in with client as the user root with the password password.

docker run --rm -d -name mariadb islandora/mariadb
docker exec -ti mariadb mysql -u root --password='password'

Dependencies

Requires islandora/base docker image to build. Please refer to the Base Image README for additional information.

Ports

Port Description
3306 MySQL Client Port

Volumes

Path Description
/var/lib/mysql Database files
/var/lib/mysql-files Location to import databases via CSV/SQL files

Settings

Database Settings

Please see the documentation in the base image for more information about the default database connection configuration.

Environment Variable Confd Key Default Description
MYSQL_ROOT_PASSWORD /mysql/root/password The database root user password. Defaults to DB_ROOT_PASSWORD
MYSQL_ROOT_USER /mysql/root/user The database root user (used to create the site database). Defaults to DB_ROOT_USER

Logs

Path Description
STDOUT [MariaDB Log]