Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 2.06 KB

README.md

File metadata and controls

55 lines (38 loc) · 2.06 KB

MariaDB

Docker image for MariaDB version 10.11.6

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 Default Description
MYSQL_ROOT_PASSWORD The database root user password. Defaults to DB_ROOT_PASSWORD
MYSQL_ROOT_USER The database root user (used to create the site database). Defaults to DB_ROOT_USER
MYSQL_MAX_ALLOWED_PACKET 16777216 Max packet length to send to or receive from the server, documentation
MYSQL_TRANSACTION_ISOLATION READ-COMMITTED The isolation level for transactions.

Logs

Path Description
STDOUT [MariaDB Log]