Add REDIS_PREFIX documentation
This commit is contained in:
parent
386a378c5d
commit
76962f8d8c
1 changed files with 4 additions and 2 deletions
|
@ -68,7 +68,7 @@ Configuration
|
||||||
|
|
||||||
You can configure the following via environment variables.
|
You can configure the following via environment variables.
|
||||||
|
|
||||||
`SECRET_KEY` this should be a unique key that's used to sign key. This should
|
`SECRET_KEY` unique key that's used to sign key. This should
|
||||||
be kept secret. See the `Flask Documentation`__ for more information.
|
be kept secret. See the `Flask Documentation`__ for more information.
|
||||||
|
|
||||||
.. __: http://flask.pocoo.org/docs/quickstart/#sessions
|
.. __: http://flask.pocoo.org/docs/quickstart/#sessions
|
||||||
|
@ -88,7 +88,9 @@ need to change this.
|
||||||
|
|
||||||
`SNAPPASS_REDIS_DB` is the database that you want to use on this redis server. Defaults to db 0
|
`SNAPPASS_REDIS_DB` is the database that you want to use on this redis server. Defaults to db 0
|
||||||
|
|
||||||
`REDIS_URL` is optional and, if set, will be used instead of `REDIS_HOST`, `REDIS_PORT`, and `SNAPPASS_REDIS_DB` to configure the Redis client object. For example: redis://username:password@localhost:6379/0
|
`REDIS_URL` (optional) will be used instead of `REDIS_HOST`, `REDIS_PORT`, and `SNAPPASS_REDIS_DB` to configure the Redis client object. For example: redis://username:password@localhost:6379/0
|
||||||
|
|
||||||
|
`REDIS_PREFIX` (optional, defaults to `"snappass"`) prefix used on redis keys to prevent collisions with other potential clients
|
||||||
|
|
||||||
Docker
|
Docker
|
||||||
------
|
------
|
||||||
|
|
Loading…
Reference in a new issue