diff options
author | Tilo Spannagel <development@tilosp.de> | 2019-02-07 12:20:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-07 12:20:53 +0100 |
commit | b9ae3256ad5a38f37f4f195ddf965f4b2f408615 (patch) | |
tree | a1401ac506bfbdb52530b82af442d1c9187105b8 /README.md | |
parent | 6d7be410e0a09a1a08e49762c7a7901e8bda49f3 (diff) | |
parent | e0de4ab28516a09423e5bb8630bfa93cf1de1bba (diff) |
Merge pull request #600 from marceljd/redis-env-vars
Set Redis through environment variables
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |