Просмотр исходного кода

Merge pull request #1346 from wglambert/master

 Add how to include pre-installed themes/plugins for WordPress
Tianon Gravi 7 лет назад
Родитель
Сommit
c58ca899b6
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      wordpress/content.md

+ 7 - 0
wordpress/content.md

@@ -69,6 +69,13 @@ The following Docker Hub features can help with the task of keeping your depende
 -	[Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it.
 -	[Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated.
 
+## Include pre-installed themes / plugins
+
+Mount the volume containing your themes or plugins to the proper directory; and then apply them through the wp-admin webui. Ensure read/write/execute permissions are in place for the user.
+
+-	Themes go in a subdirectory in `/var/www/html/wp-content/themes/`
+-	Plugins go in a subdirectory in `/var/www/html/wp-content/plugins/`
+
 ## Running as an arbitrary user
 
 See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/).