summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTilo Spannagel <development@tilosp.de>2019-02-07 12:20:53 +0100
committerGitHub <noreply@github.com>2019-02-07 12:20:53 +0100
commitb9ae3256ad5a38f37f4f195ddf965f4b2f408615 (patch)
treea1401ac506bfbdb52530b82af442d1c9187105b8 /README.md
parent6d7be410e0a09a1a08e49762c7a7901e8bda49f3 (diff)
parente0de4ab28516a09423e5bb8630bfa93cf1de1bba (diff)
Merge pull request #600 from marceljd/redis-env-vars
Set Redis through environment variables
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index e3270c6e..b6c0876c 100644
--- a/README.md
+++ b/README.md
@@ -130,7 +130,12 @@ The install and update script is only triggered when a default command is used (
- `NEXTCLOUD_UPDATE` (default: _0_)
+If you want to use Redis you have to create a seperate [Redis](https://hub.docker.com/_/redis/) container in your setup / in your docker-compose file. To inform Nextcloud about the Redis container add:
+- `REDIS_HOST` (not set by default) Name of Redis container
+- `REDIS_HOST_PORT` (default: _6379_) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
+
+The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
# Running this image with docker-compose
The easiest way to get a fully featured and functional setup is using a `docker-compose` file. There are too many different possibilities to setup your system, so here are only some examples what you have to look for.