Service for creating new databases in Docker environments. This service exists to overcome the limitations of the MySQL Docker image which can only create a single database. Call this service to provision a new database.
See the docker-compose.yml for a simple setup.
clientName
can be either "mysql"
or "mysql2"
.
host
is the hostname of your MySQL database.
rootPassword
is the root password for the MySQL database.
databaseName
is the name of the database you wish to create.
databaseUser
is the user of the database you wish to create.
databasePassword
is the password for the user specified in :databaseUser
.
This service takes in only a PORT
environment variable which decides which port the service will listen on.
This project is licensed under the MIT license.