add common EnvVar for Reva Gateway

This commit is contained in:
jkoberg
2021-10-06 17:35:12 +02:00
parent 16dcc4fadb
commit 8bb74dbc6f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Name: "reva-gateway-addr",
Value: flags.OverrideDefaultString(cfg.Thumbnail.RevaGateway, "127.0.0.1:9142"),
Usage: "Reva gateway address",
EnvVars: []string{"THUMBNAILS_REVA_GATEWAY", "PROXY_REVA_GATEWAY_ADDR"},
EnvVars: []string{"THUMBNAILS_REVA_GATEWAY", "PROXY_REVA_GATEWAY_ADDR", "REVA_GATEWAY_ADDR"},
Destination: &cfg.Thumbnail.RevaGateway,
},
&cli.BoolFlag{