-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add env variable support for configuration #339
Open
ewassef
wants to merge
11
commits into
cesanta:main
Choose a base branch
from
ewassef:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Feb 19, 2018
-
Add env variable support for configuration
This commit also makes possible to use json files as configuration files via `viper` configuration library. And contains breaking changes to configuration. Because of viper's limitations of detecting new map keys from env variables, a little procedure goes trough prefixed env variables and override viper settings by the parsed value of them. If the configuration file is in yaml format env variables can contain correct yaml strings and they will be parsed correctly. This behaviour is same for json files too.
Configuration menu - View commit details
-
Copy full SHA for 36236d7 - Browse repository at this point
Copy the full SHA 36236d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39d7bc5 - Browse repository at this point
Copy the full SHA 39d7bc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ac346 - Browse repository at this point
Copy the full SHA c5ac346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4644d20 - Browse repository at this point
Copy the full SHA 4644d20View commit details
Commits on Apr 25, 2022
-
Merge branch 'master' of https://github.com/mobingilabs/docker_auth i…
…nto upstream # Conflicts: # auth_server/authn/github_auth.go # auth_server/authn/ldap_auth.go # auth_server/authn/static_auth.go # auth_server/authz/acl_mongo.go # auth_server/main.go # auth_server/mgo_session/mgo_session.go # auth_server/server/config.go
Configuration menu - View commit details
-
Copy full SHA for 49c21f7 - Browse repository at this point
Copy the full SHA 49c21f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8028e98 - Browse repository at this point
Copy the full SHA 8028e98View commit details
Commits on Apr 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f11cc4e - Browse repository at this point
Copy the full SHA f11cc4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31e2434 - Browse repository at this point
Copy the full SHA 31e2434View commit details
Commits on May 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 33f64bc - Browse repository at this point
Copy the full SHA 33f64bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee7e35 - Browse repository at this point
Copy the full SHA 4ee7e35View commit details
Commits on Sep 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 10e946c - Browse repository at this point
Copy the full SHA 10e946cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.