From a616256c6ff7d083fa7eebae6bc0ebaa1a9ac1aa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 13 Nov 2018 22:01:18 -0800 Subject: have webface default to local elasticsearch --- python/web_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/web_config.py b/python/web_config.py index 2bb000eb..ed6d830a 100644 --- a/python/web_config.py +++ b/python/web_config.py @@ -8,7 +8,8 @@ class Config(object): GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip() # This is, effectively, the QA/PROD flag FATCAT_DOMAIN = os.environ.get("FATCAT_DOMAIN", default="qa.fatcat.wiki") - ELASTIC_BACKEND = os.environ.get("ELASTIC_BACKEND", default="https://search.fatcat.wiki") + # can set this to https://search.fatcat.wiki for some experimentation + ELASTIC_BACKEND = os.environ.get("ELASTIC_BACKEND", default="http://localhost:9200") ELASTIC_INDEX = os.environ.get("ELASTIC_INDEX", default="fatcat") # "Event more verbose" debug options. SECRET_KEY is bogus. -- cgit v1.2.3