summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-08-03 18:24:49 -0700
committerBryan Newbold <bnewbold@archive.org>2021-08-03 18:24:49 -0700
commit4f42c82be2b1d9271307ac07fe6256cce3f4c5ea (patch)
tree1f98a84605c6f39bc7080111c91647f318f8a51c
parent7ebcdfebdf4e1c8b69026a24cafe500c67dbc384 (diff)
downloadfatcat-scholar-4f42c82be2b1d9271307ac07fe6256cce3f4c5ea.tar.gz
fatcat-scholar-4f42c82be2b1d9271307ac07fe6256cce3f4c5ea.zip
config: remove 'scholar-svc500' name from QA config
-rw-r--r--fatcat_scholar/templates/search_macros.html1
-rw-r--r--settings.toml10
2 files changed, 5 insertions, 6 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index 43534bf..ce50243 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -386,7 +386,6 @@
<div class="tag-row">
{# ### TAGS #}
{# colors to use: olive, brown, grey, pink, red, etc #}
- {# TODO: remove doc for ES 7.x-style lack of type #}
{# TODO: only show 'json' link if from cluster? #}
{% if debug_mode %}
<a target="_blank" rel="noopener" href="{{ settings.ELASTICSEARCH_PUBLIC_URL }}/{{ settings.ELASTICSEARCH_QUERY_FULLTEXT_INDEX }}/_doc/{{ paper.key }}">
diff --git a/settings.toml b/settings.toml
index e2bc6d6..76488b0 100644
--- a/settings.toml
+++ b/settings.toml
@@ -50,14 +50,14 @@ KAFKA_BROKERS = ["localhost"]
[development-qa]
SCHOLAR_ENV = "dev"
-ELASTICSEARCH_QUERY_BASE = "http://scholar-svc500.fatcat.wiki:9292"
-ELASTICSEARCH_PUBLIC_URL = "http://scholar-svc500.fatcat.wiki:9292"
+ELASTICSEARCH_QUERY_BASE = "https://search.fatcat.wiki"
+ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki"
[qa]
SCHOLAR_ENV = "qa"
-ELASTICSEARCH_QUERY_BASE = "http://scholar-svc500.fatcat.wiki:9292"
+ELASTICSEARCH_QUERY_BASE = "https://search.fatcat.wiki"
ELASTICSEARCH_WRITE_BASE = "http://localhost:9200"
-ELASTICSEARCH_PUBLIC_URL = "http://scholar-svc500.fatcat.wiki:9292"
+ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]
[prod]
@@ -67,7 +67,7 @@ ELASTICSEARCH_QUERY_BASE = "http://localhost:9292"
ELASTICSEARCH_QUERY_FULLTEXT_INDEX = "scholar_fulltext"
ELASTICSEARCH_WRITE_BASE = "http://localhost:9200"
ELASTICSEARCH_WRITE_FULLTEXT_INDEX = "scholar_fulltext_v01_20210128"
-ELASTICSEARCH_PUBLIC_URL = "http://scholar-svc500.fatcat.wiki:9292"
+ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]
ENABLE_GOATCOUNTER = true
GOATCOUNTER_ENDPOINT = "/goatcounter/count"