From 83c7804484e44d50cba6270daef5f332c3abcc2a Mon Sep 17 00:00:00 2001 From: BryantHe Date: Fri, 30 Jun 2023 03:57:10 +0800 Subject: [PATCH] update docker compose yml --- docker-compose-mysql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose-mysql.yml b/docker-compose-mysql.yml index 444c442..8aa5e39 100644 --- a/docker-compose-mysql.yml +++ b/docker-compose-mysql.yml @@ -10,9 +10,9 @@ services: volumes: - mysql_data:/var/lib/mysql environment: - - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root} + - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-mysql3306} - MYSQL_USER=user - - MYSQL_PASSWORD=${MYSQL_PASSWORD:-user} + - MYSQL_PASSWORD=${MYSQL_PASSWORD:-mysql3306} restart: always