Skip to content
Snippets Groups Projects
Commit b3b6def9 authored by marceljd's avatar marceljd
Browse files

On branch redis-env-vars

   added REDIS_HOST_PORT
 Changes to be committed:
	modified:   .config/redis.config.php
	modified:   README.md

Signed-off-by: default avatarmarceljd <support@dihosting.ch>
parent 2e481a86
Branches
Tags
No related merge requests found
......@@ -5,6 +5,7 @@ if (getenv('REDIS_HOST')) {
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
'port' => getenv('REDIS_HOST_PORT') ?: 6379,
),
);
}
......
......@@ -133,6 +133,7 @@ The install and update script is only triggered when a default command is used (
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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment