diff --git a/storage/pkg/flagset/gateway.go b/storage/pkg/flagset/gateway.go index ca3b16d5b7..7180e7af62 100644 --- a/storage/pkg/flagset/gateway.go +++ b/storage/pkg/flagset/gateway.go @@ -139,6 +139,13 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag { Destination: &cfg.Reva.StorageRegistry.HomeProvider, }, + &cli.StringFlag{ + Name: "public-url", + Value: "https://localhost:9200", + Usage: "URL to use for the storage service", + EnvVars: []string{"STORAGE_FRONTEND_PUBLIC_URL"}, + Destination: &cfg.Reva.Frontend.PublicURL, + }, &cli.StringFlag{ Name: "datagateway-url", Value: "https://localhost:9200/data",