properly connect frontend services to indexed-search (zoekt) service

Prior to this change the frontend failed to find the indexed-search service
with errors such as:

> Dial tcp: lookup indexed-search on 127.0.0.11:53: no such host

This was due to the fact that `ZOEKT_HOST` defaults to `indexed-search:80`, which
is correct for Kubernetes cluster deployments but not for pure-Docker ones.

Setting the proper value here resolves this.
This commit is contained in:
Stephen Gutekanst committed 2019-01-07 20:20:11 -07:00
1 parent d70aebf972
commit ae00d7d660
2 files changed
+2

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ docker run --detach \
-e SEARCHER_URL=http://searcher-0:3181 \
-e SYMBOLS_URL=http://symbols-0:3184 \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e ZOEKT_HOST=http://zoekt-webserver:6070 \
sourcegraph/frontend:3.0.0-alpha.8
echo "Deployed sourcegraph-frontend-internal service"
+1
View File
@@ -20,6 +20,7 @@ docker run --detach \
-e SEARCHER_URL=http://searcher-0:3181 \
-e SYMBOLS_URL=http://symbols-0:3184 \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e ZOEKT_HOST=http://zoekt-webserver:6070 \
-p 127.0.0.1:3080:3080 \
sourcegraph/frontend:3.0.0-alpha.8