diff --git a/mysql/Dockerfile b/mysql/Dockerfile index 816af07..8c3083c 100644 --- a/mysql/Dockerfile +++ b/mysql/Dockerfile @@ -3,6 +3,8 @@ FROM mysql:5.7 ADD my.cnf /etc/mysql/conf.d/my.cnf ADD startup /etc/mysql/startup +RUN chown -R mysql:root /var/lib/mysql/ + ARG mysql_database ARG mysql_user ARG mysql_password diff --git a/mysql/my.cnf b/mysql/my.cnf index 04c7720..f759a49 100644 --- a/mysql/my.cnf +++ b/mysql/my.cnf @@ -1,3 +1,2 @@ [mysqld] - bind-address = 0.0.0.0