Added Percona container as an alternative to mysql mariadb
This commit is contained in:
11
percona/Dockerfile
Normal file
11
percona/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM percona:5.7
|
||||
|
||||
MAINTAINER DTUNES <diegotdai@gmai.com>
|
||||
|
||||
RUN chown -R mysql:root /var/lib/mysql/
|
||||
|
||||
ADD my.cnf /etc/mysql/conf.d/my.cnf
|
||||
|
||||
CMD ["mysqld"]
|
||||
|
||||
EXPOSE 3306
|
9
percona/my.cnf
Normal file
9
percona/my.cnf
Normal file
@ -0,0 +1,9 @@
|
||||
# The MySQL Client configuration file.
|
||||
#
|
||||
# For explanations see
|
||||
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
||||
|
||||
[mysql]
|
||||
|
||||
[mysqld]
|
||||
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
|
Reference in New Issue
Block a user