16 lines
649 B
Markdown
16 lines
649 B
Markdown
# redis
|
|
|
|
Installs redis and configures instances.
|
|
|
|
|
|
## Configuration
|
|
|
|
For each instance, you can set:
|
|
|
|
* `name`: name of the instance. Gets used to name the config file, the socket and more.
|
|
* `bind`: bind addresses. Defaults to `127.0.0.1 ::1`. TCP listening is disabled when `socket_perm` is `true`
|
|
* `port`: port to listen on. TCP listening is disabled when `socket_perm` is `true`
|
|
* `socket_enabled`: enables listening on a socket. Not set by default
|
|
* `socket_perm`: permissions on the socket. Defaults to `700`
|
|
* `maxmemory`: maximum memory for the instance. Not set by default
|
|
* `maxmemory_policy`: maxmemory-policy. Defaults to `noeviction`
|