mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-07 03:29:11 +00:00
Documentation: Redis startup parameter
This commit is contained in:
parent
32592b03dc
commit
b0f43a2077
@ -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.
|
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
|
Bind
|
||||||
----
|
----
|
||||||
|
|
||||||
|
@ -589,9 +589,12 @@ HOST_PORT_REDIS=6379
|
|||||||
###
|
###
|
||||||
### REDIS_ARGS=--requirepass my-redis-root-password
|
### REDIS_ARGS=--requirepass my-redis-root-password
|
||||||
###
|
###
|
||||||
|
### Example: Verbosity
|
||||||
|
###
|
||||||
|
### REDIS_ARGS=--loglevel verbose
|
||||||
###
|
###
|
||||||
REDIS_ARGS=
|
REDIS_ARGS=
|
||||||
#REDIS_ARGS=--requirepass my-redis-root-password
|
#REDIS_ARGS=--loglevel verbose --requirepass my-redis-root-password
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user