{"action":"created","comment":{"url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/comments/58091634","id":58091634,"diff_hunk":"@@ -37,3 +37,16 @@ Before deploying to production, don't forget to optimize the autoloader\n \n Exclude development packages\n - `composer install --no-dev`\n+\n+## Docker\n+### Running mbc-transactional-email in Docker container\n+First of all, you need to obtain `mb-secure-config`.  \n+Let's say, it is saved to `$HOME/Development/mb/mb-secure-config/docker-dev/mb-secure-config.inc`.\n+\n+\n+Then you can start the consumer with:  \n+`docker run -v $HOME/Development/mb/mb-secure-config/docker-dev/mb-secure-config.inc:/usr/src/mb/messagebroker-config/mb-secure-config.inc:ro -d --name=mbc-transactional-email dosomething/mbc-transactional-email:latest`","path":"README.md","position":12,"original_position":12,"commit_id":"6010685f261501a4abfca8967a0ec9b23b7cc453","original_commit_id":"6010685f261501a4abfca8967a0ec9b23b7cc453","user":{"login":"DeeZone","id":2119264,"avatar_url":"https://avatars.githubusercontent.com/u/2119264?v=3","gravatar_id":"","url":"https://api.github.com/users/DeeZone","html_url":"https://github.com/DeeZone","followers_url":"https://api.github.com/users/DeeZone/followers","following_url":"https://api.github.com/users/DeeZone/following{/other_user}","gists_url":"https://api.github.com/users/DeeZone/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeZone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeZone/subscriptions","organizations_url":"https://api.github.com/users/DeeZone/orgs","repos_url":"https://api.github.com/users/DeeZone/repos","events_url":"https://api.github.com/users/DeeZone/events{/privacy}","received_events_url":"https://api.github.com/users/DeeZone/received_events","type":"User","site_admin":false},"body":"Ah yes, \"Lets say...\", a hypothetical situation, got it.","created_at":"2016-03-31T17:16:02Z","updated_at":"2016-03-31T17:16:02Z","html_url":"https://github.com/DoSomething/mbc-transactional-email/pull/35#discussion_r58091634","pull_request_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/comments/58091634"},"html":{"href":"https://github.com/DoSomething/mbc-transactional-email/pull/35#discussion_r58091634"},"pull_request":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35","id":62274859,"html_url":"https://github.com/DoSomething/mbc-transactional-email/pull/35","diff_url":"https://github.com/DoSomething/mbc-transactional-email/pull/35.diff","patch_url":"https://github.com/DoSomething/mbc-transactional-email/pull/35.patch","issue_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues/35","number":35,"state":"open","locked":false,"title":"Dockerize transactional email consumer.","user":{"login":"sergii-tkachenko","id":672669,"avatar_url":"https://avatars.githubusercontent.com/u/672669?v=3","gravatar_id":"","url":"https://api.github.com/users/sergii-tkachenko","html_url":"https://github.com/sergii-tkachenko","followers_url":"https://api.github.com/users/sergii-tkachenko/followers","following_url":"https://api.github.com/users/sergii-tkachenko/following{/other_user}","gists_url":"https://api.github.com/users/sergii-tkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/sergii-tkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergii-tkachenko/subscriptions","organizations_url":"https://api.github.com/users/sergii-tkachenko/orgs","repos_url":"https://api.github.com/users/sergii-tkachenko/repos","events_url":"https://api.github.com/users/sergii-tkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/sergii-tkachenko/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\n- Introduces Docker integration to mb-transactional-email consumer\r\n\r\n#### How should this be manually tested?\r\n- See README.md","created_at":"2016-03-09T18:36:58Z","updated_at":"2016-03-31T17:16:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9a3eb9a9d55aac3cc8a22d5e9d84895f8bb7371","assignee":{"login":"DeeZone","id":2119264,"avatar_url":"https://avatars.githubusercontent.com/u/2119264?v=3","gravatar_id":"","url":"https://api.github.com/users/DeeZone","html_url":"https://github.com/DeeZone","followers_url":"https://api.github.com/users/DeeZone/followers","following_url":"https://api.github.com/users/DeeZone/following{/other_user}","gists_url":"https://api.github.com/users/DeeZone/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeZone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeZone/subscriptions","organizations_url":"https://api.github.com/users/DeeZone/orgs","repos_url":"https://api.github.com/users/DeeZone/repos","events_url":"https://api.github.com/users/DeeZone/events{/privacy}","received_events_url":"https://api.github.com/users/DeeZone/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35/commits","review_comments_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35/comments","review_comment_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues/35/comments","statuses_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/statuses/6010685f261501a4abfca8967a0ec9b23b7cc453","head":{"label":"sergii-tkachenko:docker","ref":"docker","sha":"6010685f261501a4abfca8967a0ec9b23b7cc453","user":{"login":"sergii-tkachenko","id":672669,"avatar_url":"https://avatars.githubusercontent.com/u/672669?v=3","gravatar_id":"","url":"https://api.github.com/users/sergii-tkachenko","html_url":"https://github.com/sergii-tkachenko","followers_url":"https://api.github.com/users/sergii-tkachenko/followers","following_url":"https://api.github.com/users/sergii-tkachenko/following{/other_user}","gists_url":"https://api.github.com/users/sergii-tkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/sergii-tkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergii-tkachenko/subscriptions","organizations_url":"https://api.github.com/users/sergii-tkachenko/orgs","repos_url":"https://api.github.com/users/sergii-tkachenko/repos","events_url":"https://api.github.com/users/sergii-tkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/sergii-tkachenko/received_events","type":"User","site_admin":false},"repo":{"id":52552730,"name":"mbc-transactional-email","full_name":"sergii-tkachenko/mbc-transactional-email","owner":{"login":"sergii-tkachenko","id":672669,"avatar_url":"https://avatars.githubusercontent.com/u/672669?v=3","gravatar_id":"","url":"https://api.github.com/users/sergii-tkachenko","html_url":"https://github.com/sergii-tkachenko","followers_url":"https://api.github.com/users/sergii-tkachenko/followers","following_url":"https://api.github.com/users/sergii-tkachenko/following{/other_user}","gists_url":"https://api.github.com/users/sergii-tkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/sergii-tkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergii-tkachenko/subscriptions","organizations_url":"https://api.github.com/users/sergii-tkachenko/orgs","repos_url":"https://api.github.com/users/sergii-tkachenko/repos","events_url":"https://api.github.com/users/sergii-tkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/sergii-tkachenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergii-tkachenko/mbc-transactional-email","description":"Message Broker - Consumer - Email: A consumer application that processes entries in the transactionalQueue and sends submissions to Email services.","fork":true,"url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email","forks_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/forks","keys_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/teams","hooks_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/hooks","issue_events_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/issues/events{/number}","events_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/events","assignees_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/assignees{/user}","branches_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/branches{/branch}","tags_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/tags","blobs_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/statuses/{sha}","languages_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/languages","stargazers_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/stargazers","contributors_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/contributors","subscribers_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/subscribers","subscription_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/subscription","commits_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/contents/{+path}","compare_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/merges","archive_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/downloads","issues_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/issues{/number}","pulls_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/pulls{/number}","milestones_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/milestones{/number}","notifications_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/labels{/name}","releases_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/releases{/id}","deployments_url":"https://api.github.com/repos/sergii-tkachenko/mbc-transactional-email/deployments","created_at":"2016-02-25T19:57:10Z","updated_at":"2016-02-25T19:57:11Z","pushed_at":"2016-03-09T18:28:15Z","git_url":"git://github.com/sergii-tkachenko/mbc-transactional-email.git","ssh_url":"git@github.com:sergii-tkachenko/mbc-transactional-email.git","clone_url":"https://github.com/sergii-tkachenko/mbc-transactional-email.git","svn_url":"https://github.com/sergii-tkachenko/mbc-transactional-email","homepage":"","size":100,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DoSomething:master","ref":"master","sha":"77fc38e38c52a6c7c7b0124dd39bedf2b4d2d3ac","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":17417341,"name":"mbc-transactional-email","full_name":"DoSomething/mbc-transactional-email","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/mbc-transactional-email","description":"Message Broker - Consumer - Email: A consumer application that processes entries in the transactionalQueue and sends submissions to Email services.","fork":false,"url":"https://api.github.com/repos/DoSomething/mbc-transactional-email","forks_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/forks","keys_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/teams","hooks_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/events","assignees_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/tags","blobs_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/languages","stargazers_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/subscription","commits_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/merges","archive_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/downloads","issues_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/releases{/id}","deployments_url":"https://api.github.com/repos/DoSomething/mbc-transactional-email/deployments","created_at":"2014-03-04T21:17:44Z","updated_at":"2016-01-13T21:57:00Z","pushed_at":"2016-03-16T18:42:06Z","git_url":"git://github.com/DoSomething/mbc-transactional-email.git","ssh_url":"git@github.com:DoSomething/mbc-transactional-email.git","clone_url":"https://github.com/DoSomething/mbc-transactional-email.git","svn_url":"https://github.com/DoSomething/mbc-transactional-email","homepage":"","size":941,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35"},"html":{"href":"https://github.com/DoSomething/mbc-transactional-email/pull/35"},"issue":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues/35"},"comments":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/mbc-transactional-email/statuses/6010685f261501a4abfca8967a0ec9b23b7cc453"}}}}