-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: configuration via environment variables
All settings available in the configuration file can be set as environment variables, but: - all variables must be prefixed by `SALT_` - uppercase only - `-` in the configuration file becomes a `_` - `__` is the level separator The precedence order is the one coming from viper: - flags - environment variables - configuration file
- Loading branch information
1 parent
6cffd35
commit 2d2079d
Showing
2 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters