aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSam Pearson <sam@sgp.me.uk>2018-09-20 12:08:16 +0100
committerSam Pearson <sam@sgp.me.uk>2018-09-20 14:19:16 +0100
commit785c6cebec327ebf1518c08f1447dbd12224b952 (patch)
tree0d5a33bd118907d99ce89a5dd5b6e9f6be413af2 /conf
parent1de47094d7a569c0055c0d23657140772c87d93d (diff)
Add configuration option for memcached host
Previously we assumed that any memcache instance would be running on the local loopback interface. This commit makes this configurable with a `MEMCACHED_HOST` option. If left unset, this will default to `127.0.0.1`.
Diffstat (limited to 'conf')
-rw-r--r--conf/general.yml-example4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example
index 9f1e2a01d..1f85b6fe7 100644
--- a/conf/general.yml-example
+++ b/conf/general.yml-example
@@ -197,6 +197,10 @@ SMTP_PASSWORD: ''
# this as is.
GAZE_URL: 'https://gaze.mysociety.org/gaze'
+# Memcached host
+# This can be safely left out and will default to '127.0.0.1' even if not present.
+MEMCACHED_HOST: '127.0.0.1'
+
# Should problem reports link to the council summary pages?
AREA_LINKS_FROM_PROBLEMS: '0'