diff options
author | Marc Brückner <marc@ma-br.de> | 2018-10-16 16:38:36 +0200 |
---|---|---|
committer | Marc Brückner <marc@ma-br.de> | 2018-10-16 16:38:36 +0200 |
commit | f0624351359622bf658b7a56fb9875cab69caf8d (patch) | |
tree | 0fe87acb792b261ab3666f4f2c2da3e6db0c8f09 /README.md | |
parent | b25e1abe9c6c6981fb8f0944adcf567c508c3cb2 (diff) |
clarified use of variable
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -123,7 +123,7 @@ If you want you can set the data directory and table prefix, otherwise default v - `NEXTCLOUD_TABLE_PREFIX` (default: _""_) Optional prefix for the tables. Used to be `oc_` in the past -The auto install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you can reenable the install / update with +The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with - `NEXTCLOUD_UPDATE` (default: _0_) @@ -279,6 +279,19 @@ If you use your own Dockerfile you need to configure your docker-compose file ac restart: always ``` +If you intend to use another command to run the image. Make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work. + +```yaml +FROM nextcloud:apache + +... + +ENV NEXTCLOUD_UPDATE=1 + +CMD ["/usr/bin/supervisord"] +``` + + **Updating** your own derived image is also very simple. When a new version of the Nextcloud image is available run: ```console |