diff --git a/docker-compose.yml b/docker-compose.yml index 6bb85beffc8e278346695a12b1013d10799975cb..93af07153b31dc465deced459dbf8dab7e1d424b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,11 @@ services: image: mysql:latest # https://hub.docker.com/_/mysql/ - or mariadb https://hub.docker.com/_/mariadb ports: - 127.0.0.1:3306:3306 # change ip if required + command: [ + '--default_authentication_plugin=mysql_native_password', + '--character-set-server=utf8mb4', + '--collation-server=utf8mb4_unicode_ci' + ] volumes: - ./wp-data:/docker-entrypoint-initdb.d environment: