fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

binds the index server on all addresses to allow external access for services such as prometheus (#46)

author
davejrt
committer
GitHub
date (Jun 6, 2020, 5:04 PM -0500) commit 934fdb58 parent a07da6dd
+1 -1
+1 -1
cmd/zoekt-sourcegraph-indexserver/main.go
··· 487 487 root := flag.String("sourcegraph_url", os.Getenv("SRC_FRONTEND_INTERNAL"), "http://sourcegraph-frontend-internal or http://localhost:3090") 488 488 interval := flag.Duration("interval", time.Minute, "sync with sourcegraph this often") 489 489 index := flag.String("index", defaultIndexDir, "set index directory to use") 490 - listen := flag.String("listen", "127.0.0.1:6072", "listen on this address.") 490 + listen := flag.String("listen", ":6072", "listen on this address.") 491 491 hostname := flag.String("hostname", hostnameBestEffort(), "the name we advertise to Sourcegraph when asking for the list of repositories to index. Can also be set via the NODE_NAME environment variable.") 492 492 cpuFraction := flag.Float64("cpu_fraction", 1.0, "use this fraction of the cores for indexing.") 493 493 dbg := flag.Bool("debug", false, "turn on more verbose logging.")