diff options
| author | jason | 2018-07-17 15:45:16 -0600 |
|---|---|---|
| committer | jason | 2018-07-17 15:53:48 -0600 |
| commit | 74df38d78e8bb3393c39c73d286874752b85511b (patch) | |
| tree | 11843c989fee471bc7f611d8e4dd0883ee61704e /docs/settings_file.rst | |
| parent | d7138b32ce88b39edb0138b8fd3e5f54d51dfa7f (diff) | |
| download | eventmq-74df38d78e8bb3393c39c73d286874752b85511b.tar.gz eventmq-74df38d78e8bb3393c39c73d286874752b85511b.zip | |
Allow configuration options to be specified as environment variables
Diffstat (limited to 'docs/settings_file.rst')
| -rw-r--r-- | docs/settings_file.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/settings_file.rst b/docs/settings_file.rst index d09f124..04fe451 100644 --- a/docs/settings_file.rst +++ b/docs/settings_file.rst | |||
| @@ -1,7 +1,13 @@ | |||
| 1 | ############################## | 1 | ############################## |
| 2 | Server Settings (eventmq.conf) | 2 | Server Settings (eventmq.conf) |
| 3 | ############################## | 3 | ############################## |
| 4 | EventMQ uses a standard INI style config file found at ``/etc/eventmq.conf``. | 4 | EventMQ uses a standard INI style config file with the default |
| 5 | location of ``/etc/eventmq.conf``. If you would like to specify a custom path | ||
| 6 | you can use the ``EVENTMQ_CONFIG_FILE`` environment variable. | ||
| 7 | |||
| 8 | All of these options can be defined via environment variables by converting | ||
| 9 | them to upper case and prefixing them with ``EVENTMQ_``. For example | ||
| 10 | ``EVENTMQ_MAX_SOCKETS=2048``. | ||
| 5 | 11 | ||
| 6 | ****** | 12 | ****** |
| 7 | Global | 13 | Global |
| @@ -37,7 +43,7 @@ Default: 'tcp://127.0.0.1:47291' | |||
| 37 | The address used to listen for connections from workers | 43 | The address used to listen for connections from workers |
| 38 | 44 | ||
| 39 | wal | 45 | wal |
| 40 | ======= | 46 | === |
| 41 | Default: '/var/log/eventmq/wal.log' | 47 | Default: '/var/log/eventmq/wal.log' |
| 42 | 48 | ||
| 43 | Write-ahead Log for replaying messages received by the Router. Will | 49 | Write-ahead Log for replaying messages received by the Router. Will |
| @@ -45,7 +51,7 @@ try to create the directory specified and append to the filename given. | |||
| 45 | Requires correct permissions to write to the given file. | 51 | Requires correct permissions to write to the given file. |
| 46 | 52 | ||
| 47 | wal_enabled | 53 | wal_enabled |
| 48 | =============== | 54 | =========== |
| 49 | Default: False | 55 | Default: False |
| 50 | 56 | ||
| 51 | Enable or disable the Write-ahead Log | 57 | Enable or disable the Write-ahead Log |