{"action":"created","issue":{"url":"https://api.github.com/repos/leanote/leanote/issues/198","labels_url":"https://api.github.com/repos/leanote/leanote/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/leanote/leanote/issues/198/comments","events_url":"https://api.github.com/repos/leanote/leanote/issues/198/events","html_url":"https://github.com/leanote/leanote/pull/198","id":105314794,"number":198,"title":"MongoDB's url can be set via environment variable.","user":{"login":"liwenqiu","id":320845,"avatar_url":"https://avatars.githubusercontent.com/u/320845?v=3","gravatar_id":"","url":"https://api.github.com/users/liwenqiu","html_url":"https://github.com/liwenqiu","followers_url":"https://api.github.com/users/liwenqiu/followers","following_url":"https://api.github.com/users/liwenqiu/following{/other_user}","gists_url":"https://api.github.com/users/liwenqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/liwenqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liwenqiu/subscriptions","organizations_url":"https://api.github.com/users/liwenqiu/orgs","repos_url":"https://api.github.com/users/liwenqiu/repos","events_url":"https://api.github.com/users/liwenqiu/events{/privacy}","received_events_url":"https://api.github.com/users/liwenqiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-08T07:01:39Z","updated_at":"2015-09-08T10:12:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/leanote/leanote/pulls/198","html_url":"https://github.com/leanote/leanote/pull/198","diff_url":"https://github.com/leanote/leanote/pull/198.diff","patch_url":"https://github.com/leanote/leanote/pull/198.patch"},"body":"The purpose of this pull request is: i wanna deploy leanote using docker container tech.\r\n\r\nI am going to run mongodb and leanote app in different container. The mongodb container expose 27017 port, and the leanote container will link to mongodb container. Mongodb's url will be injected into leanote container via environment variable.  so i hope that leanote app can get mongodb's url from environment variable.\r\n\r\nThx"},"comment":{"url":"https://api.github.com/repos/leanote/leanote/issues/comments/138504653","html_url":"https://github.com/leanote/leanote/pull/198#issuecomment-138504653","issue_url":"https://api.github.com/repos/leanote/leanote/issues/198","id":138504653,"user":{"login":"lealife","id":1699428,"avatar_url":"https://avatars.githubusercontent.com/u/1699428?v=3","gravatar_id":"","url":"https://api.github.com/users/lealife","html_url":"https://github.com/lealife","followers_url":"https://api.github.com/users/lealife/followers","following_url":"https://api.github.com/users/lealife/following{/other_user}","gists_url":"https://api.github.com/users/lealife/gists{/gist_id}","starred_url":"https://api.github.com/users/lealife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lealife/subscriptions","organizations_url":"https://api.github.com/users/lealife/orgs","repos_url":"https://api.github.com/users/lealife/repos","events_url":"https://api.github.com/users/lealife/events{/privacy}","received_events_url":"https://api.github.com/users/lealife/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T10:12:52Z","updated_at":"2015-09-08T10:12:52Z","body":"\"mongodb://mongodb:27017/leanote\" is default mongodb configuration"}}