Skip to content

zoekt-indexserver's SRC_FRONTEND_INTERNAL format is different from others (*requires* http:// prefix)

Created by: slimsag

Our sourcegraph/zoekt-indexserver image requires specifying a SRC_FRONTEND_INTERNAL environment variable, but it surprisingly requires the http:// prefix whereas all other locations we use SRC_FRONTEND_INTERNAL do not.

This is likely a bad assumption I made when implementing consistent support (the env var used to be named SOURCEGRAPH_URL) for this a few months back. See https://github.com/sourcegraph/infrastructure/blob/master/docker-images/zoekt-indexserver/Dockerfile#L26

https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/a1f5b46b9727b0a0e3da0257cdea86ade5dfb826/deploy-zoekt-indexserver.sh#L18