Skip to content

Instantly share code, notes, and snippets.

View ipkalm's full-sized avatar
🎃

ipkalm

🎃
  • 013 in Tentur, to the left of Ursa Major
View GitHub Profile
@MKagesawa
MKagesawa / docker-compose.yml
Created August 21, 2018 08:07
Docker-compose MySQL Image create multiple databases
# The official MySQL (https://hub.docker.com/_/mysql/) supports only one MYSQL_DATABASE environment variable.
# By modifying the entrypoint and passing shell script, you can create multiple dbs without having to make a mysql image just for this purpose.
version: '3'
services:
# Some other service connecting to mysql
db:
image: mysql:5.6