From 8747860b95cd3871965a3cfb609308046e33cf0d Mon Sep 17 00:00:00 2001 From: khs1994 Date: Sat, 31 Aug 2019 22:11:14 +0800 Subject: [PATCH] compose wordpress update mysql to v8.0.x #415 --- appendix/repo/nginx.md | 2 +- appendix/repo/nodejs.md | 2 +- appendix/repo/ubuntu.md | 2 +- compose/demo/wordpress/docker-compose.yml | 6 +++++- compose/wordpress.md | 6 +++++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/appendix/repo/nginx.md b/appendix/repo/nginx.md index e190d10..b649a31 100644 --- a/appendix/repo/nginx.md +++ b/appendix/repo/nginx.md @@ -4,7 +4,7 @@ [Nginx](https://en.wikipedia.org/wiki/Nginx) 是开源的高效的 Web 服务器实现,支持 HTTP、HTTPS、SMTP、POP3、IMAP 等协议。 -该仓库位于 `https://hub.docker.com/_/nginx/` ,提供了 Nginx 1.0 ~ 1.15.x 各个版本的镜像。 +该仓库位于 `https://hub.docker.com/_/nginx/` ,提供了 Nginx 1.0 ~ 1.17.x 各个版本的镜像。 ### 使用方法 diff --git a/appendix/repo/nodejs.md b/appendix/repo/nodejs.md index dc48870..10b24b1 100644 --- a/appendix/repo/nodejs.md +++ b/appendix/repo/nodejs.md @@ -4,7 +4,7 @@ [Node.js](https://en.wikipedia.org/wiki/Node.js) 是基于 JavaScript 的可扩展服务端和网络软件开发平台。 -该仓库位于 `https://hub.docker.com/_/node/` ,提供了 Node.js 0.10 ~ 11.x 各个版本的镜像。 +该仓库位于 `https://hub.docker.com/_/node/` ,提供了 Node.js 0.10 ~ 12.x 各个版本的镜像。 ### 使用方法 diff --git a/appendix/repo/ubuntu.md b/appendix/repo/ubuntu.md index 769ff2a..20aea1d 100644 --- a/appendix/repo/ubuntu.md +++ b/appendix/repo/ubuntu.md @@ -4,7 +4,7 @@ [Ubuntu](https://en.wikipedia.org/wiki/Ubuntu) 是流行的 Linux 发行版,其自带软件版本往往较新一些。 -该仓库位于 `https://hub.docker.com/_/ubuntu/` ,提供了 Ubuntu 从 12.04 ~ 18.04 各个版本的镜像。 +该仓库位于 `https://hub.docker.com/_/ubuntu/` ,提供了 Ubuntu 从 12.04 ~ 19.04 各个版本的镜像。 ### 使用方法 diff --git a/compose/demo/wordpress/docker-compose.yml b/compose/demo/wordpress/docker-compose.yml index 9438e1e..97109f8 100644 --- a/compose/demo/wordpress/docker-compose.yml +++ b/compose/demo/wordpress/docker-compose.yml @@ -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 diff --git a/compose/wordpress.md b/compose/wordpress.md index e61adcf..7188bb3 100644 --- a/compose/wordpress.md +++ b/compose/wordpress.md @@ -17,7 +17,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