mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-03 14:32:29 +00:00
compose wordpress update mysql to v8.0.x #415
This commit is contained in:
@@ -2,7 +2,11 @@ version: "3"
|
||||
services:
|
||||
|
||||
db:
|
||||
image: mysql:5.7
|
||||
image: mysql:8.0
|
||||
command:
|
||||
- --default_authentication_plugin=mysql_native_password
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
restart: always
|
||||
|
Reference in New Issue
Block a user