From 70c4c709b40bb4cd382a37ed59bb906eb1a1f001 Mon Sep 17 00:00:00 2001 From: ww519441258 <310243791.com> Date: Sat, 21 Dec 2019 11:26:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mysql=E5=AE=B9=E5=99=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9e200de..a081e8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,8 +15,9 @@ services: - php mysql: image: mysql - restart: always + container_name: mysql command: --default-authentication-plugin=mysql_native_password + restart: always volumes: - ./mysql/etc:/etc/mysql - ./mysql/data:/var/lib/mysql