aboutsummaryrefslogtreecommitdiffstats
path: root/docs/settings_file.rst
diff options
context:
space:
mode:
authorjason2018-07-17 15:45:16 -0600
committerjason2018-07-17 15:53:48 -0600
commit74df38d78e8bb3393c39c73d286874752b85511b (patch)
tree11843c989fee471bc7f611d8e4dd0883ee61704e /docs/settings_file.rst
parentd7138b32ce88b39edb0138b8fd3e5f54d51dfa7f (diff)
downloadeventmq-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.rst12
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##############################
2Server Settings (eventmq.conf) 2Server Settings (eventmq.conf)
3############################## 3##############################
4EventMQ uses a standard INI style config file found at ``/etc/eventmq.conf``. 4EventMQ uses a standard INI style config file with the default
5location of ``/etc/eventmq.conf``. If you would like to specify a custom path
6you can use the ``EVENTMQ_CONFIG_FILE`` environment variable.
7
8All of these options can be defined via environment variables by converting
9them to upper case and prefixing them with ``EVENTMQ_``. For example
10``EVENTMQ_MAX_SOCKETS=2048``.
5 11
6****** 12******
7Global 13Global
@@ -37,7 +43,7 @@ Default: 'tcp://127.0.0.1:47291'
37The address used to listen for connections from workers 43The address used to listen for connections from workers
38 44
39wal 45wal
40======= 46===
41Default: '/var/log/eventmq/wal.log' 47Default: '/var/log/eventmq/wal.log'
42 48
43Write-ahead Log for replaying messages received by the Router. Will 49Write-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.
45Requires correct permissions to write to the given file. 51Requires correct permissions to write to the given file.
46 52
47wal_enabled 53wal_enabled
48=============== 54===========
49Default: False 55Default: False
50 56
51Enable or disable the Write-ahead Log 57Enable or disable the Write-ahead Log