add the reva gateway flag to groups

This commit is contained in:
A.Unger
2021-09-30 10:44:52 +02:00
parent ec50eeb3ee
commit 3588d42001
6 changed files with 30 additions and 26 deletions
+10
View File
@@ -21,6 +21,16 @@ func GroupsWithConfig(cfg *config.Config) []cli.Flag {
// Services
// Gateway
&cli.StringFlag{
Name: "gateway-url",
Value: flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142"),
Usage: "URL to use for the storage gateway service",
EnvVars: []string{"STORAGE_GATEWAY_ENDPOINT"},
Destination: &cfg.Reva.Gateway.Endpoint,
},
// Groupprovider
&cli.StringFlag{