mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-25 21:00:53 +02:00
Merge pull request #600 from marceljd/redis-env-vars
Set Redis through environment variables
This commit is contained in:
commit
b9ae3256ad
19 changed files with 129 additions and 32 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue