summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMarc Brückner <marc@ma-br.de>2018-10-16 16:38:36 +0200
committerMarc Brückner <marc@ma-br.de>2018-10-16 16:38:36 +0200
commitf0624351359622bf658b7a56fb9875cab69caf8d (patch)
tree0fe87acb792b261ab3666f4f2c2da3e6db0c8f09 /README.md
parentb25e1abe9c6c6981fb8f0944adcf567c508c3cb2 (diff)
clarified use of variable
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 27d70fa1..8919b585 100644
--- a/README.md
+++ b/README.md
@@ -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