Comment out server.documents.location and update example config
This commit is contained in:
parent
f7c0572750
commit
57ffc2dfba
2 changed files with 61 additions and 6 deletions
|
@ -51,9 +51,12 @@ func init() {
|
|||
serverCmd.Flags().Int("server-port", 8080, "Port to run the webserver on (config: server.port)")
|
||||
viper.BindPFlag("server.port", serverCmd.Flags().Lookup("server-port"))
|
||||
|
||||
// server.documents.location - --server-documents-location
|
||||
serverCmd.Flags().String("server-documents-location", "us-east", "Storage bucket location (config: server.documents.location)")
|
||||
viper.BindPFlag("server.documents.location", serverCmd.Flags().Lookup("server-documents-location"))
|
||||
// Not currently used
|
||||
/*
|
||||
// server.documents.location - --server-documents-location
|
||||
serverCmd.Flags().String("server-documents-location", "us-east", "Storage bucket location (config: server.documents.location)")
|
||||
viper.BindPFlag("server.documents.location", serverCmd.Flags().Lookup("server-documents-location"))
|
||||
*/
|
||||
|
||||
// server.documents.endpoint - --server-documents-endpoint
|
||||
serverCmd.Flags().String("server-documents-endpoint", "minio:9000", "Storage server endpoint (config: server.documents.endpoint)")
|
||||
|
@ -87,11 +90,11 @@ func init() {
|
|||
serverCmd.Flags().Bool("server-admin-auth", false, "Enable to allow basic authentication for /admin routes (config: server.admin.auth)")
|
||||
viper.BindPFlag("server.admin.auth", serverCmd.Flags().Lookup("server-admin-auth"))
|
||||
|
||||
// server.admin.username - --server-frontend-username
|
||||
// server.admin.username - --server-admin-username
|
||||
serverCmd.Flags().String("server-admin-username", "", "Username for basic authentication for /admin routes (config: server.admin.username)")
|
||||
viper.BindPFlag("server.admin.username", serverCmd.Flags().Lookup("server-admin-username"))
|
||||
|
||||
// server.admin.password - --server-frontend-password
|
||||
// server.admin.password - --server-admin-password
|
||||
serverCmd.Flags().String("server-admin-password", "", "Password for basic authentication for /admin routes (config: server.admin.password)")
|
||||
viper.BindPFlag("server.admin.password", serverCmd.Flags().Lookup("server-admin-password"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue