This commit is contained in:
19
docs/config.rst
Normal file
19
docs/config.rst
Normal file
@ -0,0 +1,19 @@
|
||||
=============
|
||||
Configuration
|
||||
=============
|
||||
|
||||
This software component can be configured via environmental variables, which are very useful in a containerized environment.
|
||||
|
||||
+--------------------+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| Variable | Default | Description |
|
||||
+====================+==========================+=====================================================================================================================================================================+
|
||||
| `LOCAL_UUID` | **N/A** | The UUID of the consumer system. Must be the same as the API's |
|
||||
+--------------------+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| `RUN_INTERVAL` | 10 | Interval between synchronizations, and local ip checks. |
|
||||
+--------------------+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| `CUSTOMER_TIMEOUT` | 30 | Default timeout to be set for a consumer. If the timeout expires, the consumer will be considered invalid, and no further attempts will be made to contact with it. |
|
||||
+--------------------+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| `REDIS_URL` | redis://localhost:6379/0 | URL of the Redis database shared with the consumer api |
|
||||
+--------------------+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| `INITIAL_SERVERS` | **N/A** | A comma separated list of the initially known consumers (Can be empty, but must be specified) |
|
||||
+--------------------+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
@ -11,9 +11,11 @@ Welcome to Consumer Scheduler's documentation!
|
||||
:caption: Contents:
|
||||
|
||||
readme
|
||||
config
|
||||
source/modules
|
||||
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
|
Reference in New Issue
Block a user