You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
Currently, when running the garnet server we must provider either command-line arguments or a garnet.conf JSON file.
By adopting the https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration we will be able to use any configuration provider and require less manual work for maintaining the Options file
I think the command-line arguments can wait (still use the Options class) but adding support for environment-variables won't interfere with the current configuration
Feature request type
enhancement
Is your feature request related to a problem? Please describe
Currently, when running the garnet server we must provider either command-line arguments or a
garnet.conf
JSON file.By adopting the https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration we will be able to use any configuration provider and require less manual work for maintaining the Options file
Describe the solution you'd like
building on top of #579 we would call
builder.Configuration.AddEnvironmentVariables(prefix: "GARNET_")
(see https://learn.microsoft.com/en-us/dotnet/core/extensions/configuration-providers#prefixes)Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: