Documentation: Redis startup parameter

This commit is contained in:
cytopia 2018-08-11 22:42:19 +02:00
parent 32592b03dc
commit b0f43a2077
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 45 additions and 1 deletions

View File

@ -1542,6 +1542,47 @@ connect to PostgreSQL and will not be able to display information inside the bun
Keep this variable in sync with the actual PostgreSQL password.
.. _env_redis:
Redis
-----
REDIS_ARGS
^^^^^^^^^^
This option lets you add extra startup parameters to Redis. This could include adding a password
protection to Redis or increasing its verbosity.
+-------------------------+------------------------------------------+----------------+
| Name | Allowed values | Default value |
+=========================+==========================================+================+
| ``REDIS_ARGS`` | valid ``redis-server`` startup parameter | empty |
+-------------------------+------------------------------------------+----------------+
Example: Adding password protection
"""""""""""""""""""""""""""""""""""
.. code-block:: bash
REDIS_ARGS=--requirepass my-redis-root-password
.. important:: Do not quote the password and do not use spaces inside the password.
Example: Increasing verbosity
"""""""""""""""""""""""""""""
.. code-block:: bash
REDIS_ARGS=--loglevel verbose
Example: Combining options
""""""""""""""""""""""""""
.. code-block:: bash
REDIS_ARGS=--loglevel verbose --requirepass my-redis-root-password
Bind
----

View File

@ -589,9 +589,12 @@ HOST_PORT_REDIS=6379
###
### REDIS_ARGS=--requirepass my-redis-root-password
###
### Example: Verbosity
###
### REDIS_ARGS=--loglevel verbose
###
REDIS_ARGS=
#REDIS_ARGS=--requirepass my-redis-root-password
#REDIS_ARGS=--loglevel verbose --requirepass my-redis-root-password