From 0f361c5d89370ffe37405a592e0aceb09ff459d9 Mon Sep 17 00:00:00 2001 From: philtrep Date: Sun, 2 Oct 2016 13:17:14 -0400 Subject: [PATCH] Fix mysql init not working --- mysql/Dockerfile | 2 ++ mysql/my.cnf | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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