summaryrefslogtreecommitdiffstats
path: root/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'mysql')
-rw-r--r--mysql/Dockerfile4
-rw-r--r--mysql/docker-entrypoint-initdb.d/biomedisa.sql1
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql/Dockerfile b/mysql/Dockerfile
new file mode 100644
index 0000000..8a89e26
--- /dev/null
+++ b/mysql/Dockerfile
@@ -0,0 +1,4 @@
+FROM mysql:5.7
+MAINTAINER Suren A. Chilingaryan <csa@suren.me>
+
+COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
diff --git a/mysql/docker-entrypoint-initdb.d/biomedisa.sql b/mysql/docker-entrypoint-initdb.d/biomedisa.sql
new file mode 100644
index 0000000..c437f0d
--- /dev/null
+++ b/mysql/docker-entrypoint-initdb.d/biomedisa.sql
@@ -0,0 +1 @@
+GRANT ALL ON `biomedisa_database`.* TO 'biomedisa'@'%';