{"action":"opened","issue":{"url":"https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/47","labels_url":"https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/47/comments","events_url":"https://api.github.com/repos/olipo186/Git-Auto-Deploy/issues/47/events","html_url":"https://github.com/olipo186/Git-Auto-Deploy/issues/47","id":116739982,"number":47,"title":"Make it configurable by environment variables (for Docker)","user":{"login":"iBobik","id":614232,"avatar_url":"https://avatars.githubusercontent.com/u/614232?v=3","gravatar_id":"","url":"https://api.github.com/users/iBobik","html_url":"https://github.com/iBobik","followers_url":"https://api.github.com/users/iBobik/followers","following_url":"https://api.github.com/users/iBobik/following{/other_user}","gists_url":"https://api.github.com/users/iBobik/gists{/gist_id}","starred_url":"https://api.github.com/users/iBobik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBobik/subscriptions","organizations_url":"https://api.github.com/users/iBobik/orgs","repos_url":"https://api.github.com/users/iBobik/repos","events_url":"https://api.github.com/users/iBobik/events{/privacy}","received_events_url":"https://api.github.com/users/iBobik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T10:14:42Z","updated_at":"2015-11-13T10:14:42Z","closed_at":null,"body":"As I described in [the future README](https://github.com/iBobik/Git-Auto-Deploy/blob/patch-1/README.md#or-run-it-configured-by-environment-variables), script should fetch basic configuration from Docker ENV variables, even if no config file is specified.\r\n\r\nCould you help me to add this feature to the script? I guess we need to add to `get_config()` something like this:\r\n\r\n- not raise exceptions on lines 403 and 410 if there is env variable AUTODEPLOY_URL\r\n- add entry to beginning of `self._config['repositories']` list from all env variables before cycle on 418 begins\r\n\r\nAm I on the right way?"}}