sameersbn / docker-mysql

A Dockerfile that installs a mysql server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Suggestion] Create multiple databases if DB_NAME is an array of names

djdefi opened this issue · comments

Would it be possible to modify this image to accept a comma-separated array to DB_NAME?

Such as: -e DB_NAME=dbname1,dbname2,dbname3

We have a use case where we have a Dockerized web application that needs to connect to about 5 different MySQL databases, and would like to only run a single MySQL container on our dev machines (via fig)