From 0844dc3a1a15f60757a680c819cad686b5724bf4 Mon Sep 17 00:00:00 2001 From: drebs Date: Sun, 19 Nov 2017 18:32:50 -0200 Subject: [feature] allow setting couchdb url from environment --- docs/man/soledad-server.1.rst | 3 +++ docs/reference/environment_variables.rst | 1 + 2 files changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/man/soledad-server.1.rst b/docs/man/soledad-server.1.rst index 3d37a8d2..e40e9a63 100644 --- a/docs/man/soledad-server.1.rst +++ b/docs/man/soledad-server.1.rst @@ -61,6 +61,9 @@ SOLEDAD_SERVER_CONFIG_FILE Load configuration from this file instead of using the default one (*/etc/soledad/soledad-server.conf*). +SOLEDAD_COUCH_URL + If set, use this URL for accessing couchdb (overrides the configuration file). + SOLEDAD_HTTP_PERSIST If set, persist HTTP connections. diff --git a/docs/reference/environment_variables.rst b/docs/reference/environment_variables.rst index bfd155ee..321c925c 100644 --- a/docs/reference/environment_variables.rst +++ b/docs/reference/environment_variables.rst @@ -6,6 +6,7 @@ Some environment variables affect the behaviour of Soledad: ============================== =============== ================================= variable affects description ============================== =============== ================================= +``SOLEDAD_COUCH_URL`` server override the CouchDB url. ``SOLEDAD_HTTP_PERSIST`` client persist HTTP connections. ``SOLEDAD_USE_PYTHON_LOGGING`` client / server use python logging instead of twisted's logger. -- cgit v1.2.3