|
|
@@ -7,9 +7,9 @@ services:
|
|
|
MYSQL_DATABASE: root
|
|
|
ports:
|
|
|
- "3318:3306"
|
|
|
- command: "--ssl"
|
|
|
- # command: "--default-authentication-plugin=mysql_native_password"
|
|
|
restart: always
|
|
|
+ volumes:
|
|
|
+ - "./conf/my.cnf:/etc/mysql/my.cnf"
|
|
|
mysql57:
|
|
|
image: mysql:5.7
|
|
|
environment:
|
|
|
@@ -17,8 +17,9 @@ services:
|
|
|
MYSQL_DATABASE: root
|
|
|
ports:
|
|
|
- "3317:3306"
|
|
|
- # command: "--default-authentication-plugin=mysql_native_password"
|
|
|
restart: always
|
|
|
+ volumes:
|
|
|
+ - "./conf/my.cnf:/etc/mysql/my.cnf"
|
|
|
mysql56:
|
|
|
image: mysql:5.6
|
|
|
environment:
|
|
|
@@ -26,5 +27,7 @@ services:
|
|
|
MYSQL_DATABASE: root
|
|
|
ports:
|
|
|
- "3316:3306"
|
|
|
- # command: "--default-authentication-plugin=mysql_native_password"
|
|
|
restart: always
|
|
|
+ volumes:
|
|
|
+ - "./conf/my.cnf:/etc/mysql/my.cnf"
|
|
|
+
|