fix default storage config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-01-17 10:12:12 +01:00
parent 25a68c9321
commit 46ab6037b7
3 changed files with 21 additions and 1 deletions
+10
View File
@@ -256,5 +256,15 @@ func StorageOCDataWithConfig(cfg *config.Config) []cli.Flag {
EnvVar: "REVA_STORAGE_OWNCLOUD_DATADIR",
Destination: &cfg.Reva.Storages.OwnCloud.Datadirectory,
},
// Gateway
&cli.StringFlag{
Name: "gateway-url",
Value: "localhost:9142",
Usage: "URL to use for the reva gateway service",
EnvVar: "REVA_GATEWAY_URL",
Destination: &cfg.Reva.Gateway.URL,
},
}
}