summaryrefslogtreecommitdiff
path: root/mariadb
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-28 19:29:26 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-28 19:29:26 +0530
commitcc114e825a081b666280b83d0bbcfbe2f280fd7f (patch)
treef739e6e5d8a8114c63f4da0c3a93740ca688970c /mariadb
parent6bf8e6fd8d8579393db3c7687962f38aa3d891f4 (diff)
downloadvaindock-develop.tar.gz
vaindock-develop.zip
Container for mariadbdevelop
Diffstat (limited to 'mariadb')
-rw-r--r--mariadb/Dockerfile9
-rw-r--r--mariadb/my.cnf6
2 files changed, 15 insertions, 0 deletions
diff --git a/mariadb/Dockerfile b/mariadb/Dockerfile
new file mode 100644
index 0000000..cece944
--- /dev/null
+++ b/mariadb/Dockerfile
@@ -0,0 +1,9 @@
+FROM mariadb:latest
+
+MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
+
+ADD my.cnf /etc/mysql/conf.d/my.cnf
+
+CMD ["mysqld"]
+
+EXPOSE 3306 \ No newline at end of file
diff --git a/mariadb/my.cnf b/mariadb/my.cnf
new file mode 100644
index 0000000..9a54930
--- /dev/null
+++ b/mariadb/my.cnf
@@ -0,0 +1,6 @@
+# MariaDB database server configuration file.
+#
+# You can use this file to overwrite the default configuration
+#
+# For explanations see
+# http://dev.mysql.com/doc/mysql/en/server-system-variables.html \ No newline at end of file