From fac84cd45b7b983cfb56acd040508f24f7cf313f Mon Sep 17 00:00:00 2001 From: Simon Perdrisat Date: Sat, 11 Feb 2017 03:51:10 +0100 Subject: [PATCH] Add a config file for mariaDB (#605) --- mariadb/Dockerfile | 2 ++ mariadb/my.cnf | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 mariadb/my.cnf diff --git a/mariadb/Dockerfile b/mariadb/Dockerfile index f8724f59..fa25b26e 100644 --- a/mariadb/Dockerfile +++ b/mariadb/Dockerfile @@ -2,6 +2,8 @@ FROM mariadb:latest MAINTAINER Mahmoud Zalt +ADD my.cnf /etc/mysql/conf.d/my.cnf + CMD ["mysqld"] EXPOSE 3306 diff --git a/mariadb/my.cnf b/mariadb/my.cnf new file mode 100644 index 00000000..f14f2690 --- /dev/null +++ b/mariadb/my.cnf @@ -0,0 +1,7 @@ +# 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 +