summaryrefslogtreecommitdiffstats
path: root/mysql
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-20 16:16:15 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-20 16:16:15 +0100
commit3d19ce5671e45b8e06a91cb09065d81e22f9d6fd (patch)
treee6221f12bdc4c48f5dc919874265633e3709559c /mysql
downloadadei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.gz
adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.bz2
adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.xz
adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.zip
Initial import
Diffstat (limited to 'mysql')
-rw-r--r--mysql/Dockerfile4
-rw-r--r--mysql/docker-entrypoint-initdb.d/adei.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/adei.sql b/mysql/docker-entrypoint-initdb.d/adei.sql
new file mode 100644
index 0000000..a17fcfe
--- /dev/null
+++ b/mysql/docker-entrypoint-initdb.d/adei.sql
@@ -0,0 +1 @@
+GRANT ALL ON `adei_%`.* TO 'adei'@'%';