schmunk42 / docker-mariadb-example-databases

Dockerfile for MariaDB Server with example databases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MariaDB Docker container with example databases from MySQL

This is image can be used to install demo databases in a MariaDB container on startup.

Configuration

Set environment variables to setup database schema with script, see docker-compose.yml

  • INSTALL_WORLD=1
  • INSTALL_WORLD_INNODB=1
  • INSTALL_SAKILA=1
  • INSTALL_EMPLOYEES=1

Usage

docker-compose up -d
docker-compose exec mariadb /init-example-databases.sh

Build

docker build -t schmunk42/mariadb-example-databases .

Links


Built by *dmstr

About

Dockerfile for MariaDB Server with example databases


Languages

Language:Shell 100.0%