создана репа с докером для ларавел
This commit is contained in:
6
docker/mysql/Dockerfile
Normal file
6
docker/mysql/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM mysql:8.0.16
|
||||
|
||||
COPY my.cnf /etc/mysql/conf.d/my.cnf
|
||||
CMD ["mysqld"]
|
||||
|
||||
EXPOSE 3306
|
||||
10
docker/mysql/my.cnf
Normal file
10
docker/mysql/my.cnf
Normal file
@@ -0,0 +1,10 @@
|
||||
# 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_ENGINE_SUBSTITUTION"
|
||||
default-authentication-plugin=mysql_native_password
|
||||
Reference in New Issue
Block a user