Add a config file for mariaDB (#605)

This commit is contained in:
Simon Perdrisat 2017-02-11 03:51:10 +01:00 committed by Bo-Yi Wu
parent 21a83bd5a3
commit fac84cd45b
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,8 @@ FROM mariadb:latest
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me> MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
ADD my.cnf /etc/mysql/conf.d/my.cnf
CMD ["mysqld"] CMD ["mysqld"]
EXPOSE 3306 EXPOSE 3306

7
mariadb/my.cnf Normal file
View File

@ -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