You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/gitbase/command/server.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,8 @@ type Server struct {
39
39
Portint`short:"p" long:"port" default:"3306" description:"Port where the server is going to listen"`
40
40
Userstring`short:"u" long:"user" default:"root" description:"User name used for connection"`
41
41
Passwordstring`short:"P" long:"password" default:"" description:"Password used for connection"`
42
-
PilosaURLstring`long:"pilosa" default:"http://localhost:10101" description:"URL to your pilosa server"`
43
-
IndexDirstring`short:"i" long:"index" default:"/var/lib/gitbase/index" description:"Directory where the gitbase indexes information will be persisted."`
42
+
PilosaURLstring`long:"pilosa" default:"http://localhost:10101" description:"URL to your pilosa server" env:"PILOSA_ENDPOINT"`
43
+
IndexDirstring`short:"i" long:"index" default:"/var/lib/gitbase/index" description:"Directory where the gitbase indexes information will be persisted." env:"GITBASE_INDEX_DIR"`
44
44
45
45
// UnstableSquash quashing tables and pushing down join conditions is still
46
46
// a work in progress and unstable. To enable it, the GITBASE_UNSTABLE_SQUASH_ENABLE
0 commit comments