{"action":"created","issue":{"url":"https://api.github.com/repos/orvsd/orvsd_central/issues/112","labels_url":"https://api.github.com/repos/orvsd/orvsd_central/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/orvsd/orvsd_central/issues/112/comments","events_url":"https://api.github.com/repos/orvsd/orvsd_central/issues/112/events","html_url":"https://github.com/orvsd/orvsd_central/issues/112","id":54120642,"number":112,"title":"configuration via env vars","user":{"login":"Kennric","id":1696096,"avatar_url":"https://avatars.githubusercontent.com/u/1696096?v=3","gravatar_id":"","url":"https://api.github.com/users/Kennric","html_url":"https://github.com/Kennric","followers_url":"https://api.github.com/users/Kennric/followers","following_url":"https://api.github.com/users/Kennric/following{/other_user}","gists_url":"https://api.github.com/users/Kennric/gists{/gist_id}","starred_url":"https://api.github.com/users/Kennric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kennric/subscriptions","organizations_url":"https://api.github.com/users/Kennric/orgs","repos_url":"https://api.github.com/users/Kennric/repos","events_url":"https://api.github.com/users/Kennric/events{/privacy}","received_events_url":"https://api.github.com/users/Kennric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T23:07:11Z","updated_at":"2015-01-16T02:41:37Z","closed_at":null,"body":"To make Docker image deployment much easier, use environment variables for settings. Defaults should be defined in a settings file (see What's Fresh project for an example of using yaml for this, or just use the standard settings.py style), and these defaults should be over-ridden by environment variables of the same name using os.environ['VARIABLE'] values. \r\n\r\nThis should allow the app to pick up environment variables set in Docker containers, in production wsgi environments, or to be configured by editing the settings file and not defining any environment variables."},"comment":{"url":"https://api.github.com/repos/orvsd/orvsd_central/issues/comments/70200462","html_url":"https://github.com/orvsd/orvsd_central/issues/112#issuecomment-70200462","issue_url":"https://api.github.com/repos/orvsd/orvsd_central/issues/112","id":70200462,"user":{"login":"brutal-chaos","id":443413,"avatar_url":"https://avatars.githubusercontent.com/u/443413?v=3","gravatar_id":"","url":"https://api.github.com/users/brutal-chaos","html_url":"https://github.com/brutal-chaos","followers_url":"https://api.github.com/users/brutal-chaos/followers","following_url":"https://api.github.com/users/brutal-chaos/following{/other_user}","gists_url":"https://api.github.com/users/brutal-chaos/gists{/gist_id}","starred_url":"https://api.github.com/users/brutal-chaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brutal-chaos/subscriptions","organizations_url":"https://api.github.com/users/brutal-chaos/orgs","repos_url":"https://api.github.com/users/brutal-chaos/repos","events_url":"https://api.github.com/users/brutal-chaos/events{/privacy}","received_events_url":"https://api.github.com/users/brutal-chaos/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T02:41:37Z","updated_at":"2015-01-16T02:41:37Z","body":"With this, i'm going to switch our config to yaml otherwise config.py will start getting too annoying to work with"}}