add configs and docs
This commit is contained in:
parent
5925d5b26d
commit
52f4f19c0a
5 changed files with 1498 additions and 3 deletions
16
README.md
Normal file
16
README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# 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`
|
||||
Loading…
Add table
Add a link
Reference in a new issue