From 2cd3918a6f47278c635d7fcff6a2e69a9cd7d4c3 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Sep 2023 23:38:59 +0800 Subject: [PATCH] save --- docker-compose-ali.yml | 6 ++++-- docker-compose.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker-compose-ali.yml b/docker-compose-ali.yml index 6fbd097..67ff77b 100644 --- a/docker-compose-ali.yml +++ b/docker-compose-ali.yml @@ -1,4 +1,4 @@ -version: '2.1' +version: '3' services: mysql: @@ -10,9 +10,11 @@ services: command: [ '--character-set-server=utf8mb4', '--collation-server=utf8mb4_general_ci', - '--max_connections=10000' + '--max_connections=10000', '--default-authentication-plugin=mysql_native_password' ] + volumes: + - moneywhere_mysql_data:/var/lib/mysql phpmyadmin: image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest diff --git a/docker-compose.yml b/docker-compose.yml index 54dac4d..67ff77b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2.1' +version: '3' services: mysql: @@ -10,7 +10,7 @@ services: command: [ '--character-set-server=utf8mb4', '--collation-server=utf8mb4_general_ci', - '--max_connections=10000' + '--max_connections=10000', '--default-authentication-plugin=mysql_native_password' ] volumes: