diff --git a/Dockerfile b/Dockerfile index 21823cf..e96f830 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN chmod +x /var/www/html/docker-utils/install-composer && \ VOLUME /var/www/html/settings VOLUME /var/www/html/media VOLUME /var/www/html/cache +VOLUME /var/www/html/plugins # Create a default copy of content and theme in case of empty directories binding RUN mkdir -p /var/www/html/content.default/ && \ diff --git a/readme.md b/readme.md index 1634515..f2d899a 100644 --- a/readme.md +++ b/readme.md @@ -95,6 +95,7 @@ docker run -d \ -v $(pwd)/typemill_data/settings/:/var/www/html/settings/ \ -v $(pwd)/typemill_data/media/:/var/www/html/media/ \ -v $(pwd)/typemill_data/cache/:/var/www/html/cache/ \ + -v $(pwd)/typemill_data/plugins/:/var/www/html/plugins/ \ -v $(pwd)/typemill_data/content/:/var/www/html/content/ \ -v $(pwd)/typemill_data/themes/:/var/www/html/themes/ \ typemill:local @@ -105,6 +106,7 @@ docker run -d \ - `settings` : persists users profiles, site configuration, etc. (empty by default) - `media` : persists media files (empty by default) - `cache` : persists cache files for performance purpose (optional and empty by default) +- `plugins` : persists installed plugins (optional and empty by default) - `content` : persists content published (will be initialized with default examples if the binded volume is empty) - `themes` : persists installed themes (will be initialized with default examples if the binded volume is empty)