From 7ee8b45a07378758d41d00c29d70ea17edc75a23 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 27 Aug 2018 15:40:28 -0700 Subject: [PATCH] Add MySQL SSL note to WordPress description --- wordpress/content.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wordpress/content.md b/wordpress/content.md index 27fec192f..759b8fa28 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -40,6 +40,8 @@ $ docker run --name some-%%REPO%% -e WORDPRESS_DB_HOST=10.1.2.3:3306 \ -e WORDPRESS_DB_USER=... -e WORDPRESS_DB_PASSWORD=... -d %%IMAGE%% ``` +If your database requires SSL, [WordPress ticket #28625](https://core.trac.wordpress.org/ticket/28625) has the relevant details regarding support for that with WordPress upstream. As a workaround, [the "Secure DB Connection" plugin](https://wordpress.org/plugins/secure-db-connection/) can be extracted into the WordPress directory and the appropriate values described in the configuration of that plugin added in `wp-config.php`. + ## Docker Secrets As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in `/run/secrets/` files. For example: