mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-03 15:55:17 -07:00
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:
1 parent
d70aebf972
commit
ae00d7d660
2 files changed
+2
No files matched your search
@@ -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"
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user