{"action":"created","comment":{"url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/comments/66446979","id":66446979,"diff_hunk":"@@ -54,7 +54,7 @@ namespace :server do\n       puts \"\\r\\e[0KStopping ...\"\n       Rake::Task['server:down'].execute\n     end\n-    system \"bundle exec rerun 'rackup -p $PORT -E $RACK_ENV'\"\n+    system \"bundle exec rerun 'rackup -p $PORT -E $RACK_ENV -o 0.0.0.0'\"","path":"Rakefile","position":5,"original_position":5,"commit_id":"8f6bd6ed304c2a516872abeebe410791fc436a8c","original_commit_id":"678d86d362cd23cb1d7eb6fc175e75072edbfabc","user":{"login":"carlosreig","id":2478462,"avatar_url":"https://avatars.githubusercontent.com/u/2478462?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosreig","html_url":"https://github.com/carlosreig","followers_url":"https://api.github.com/users/carlosreig/followers","following_url":"https://api.github.com/users/carlosreig/following{/other_user}","gists_url":"https://api.github.com/users/carlosreig/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosreig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosreig/subscriptions","organizations_url":"https://api.github.com/users/carlosreig/orgs","repos_url":"https://api.github.com/users/carlosreig/repos","events_url":"https://api.github.com/users/carlosreig/events{/privacy}","received_events_url":"https://api.github.com/users/carlosreig/received_events","type":"User","site_admin":false},"body":"Yes, it works. I have just checked it.\r\n\r\nThis IP address is a constraint for incoming connections. So, if it is set to 127.0.0.1, then the server will only accept incoming connections from 127.0.0.1.\r\n\r\n0.0.0.0 is like a wildcard to allow the incoming connections from anywhere.","created_at":"2016-06-09T14:06:51Z","updated_at":"2016-06-09T14:06:51Z","html_url":"https://github.com/VLCTechHub/VLCTechHub-api/pull/27#discussion_r66446979","pull_request_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/comments/66446979"},"html":{"href":"https://github.com/VLCTechHub/VLCTechHub-api/pull/27#discussion_r66446979"},"pull_request":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27","id":73203418,"html_url":"https://github.com/VLCTechHub/VLCTechHub-api/pull/27","diff_url":"https://github.com/VLCTechHub/VLCTechHub-api/pull/27.diff","patch_url":"https://github.com/VLCTechHub/VLCTechHub-api/pull/27.patch","issue_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues/27","number":27,"state":"open","locked":false,"title":"Added Docker containers. Fixes 26","user":{"login":"DavidHernandez","id":877002,"avatar_url":"https://avatars.githubusercontent.com/u/877002?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidHernandez","html_url":"https://github.com/DavidHernandez","followers_url":"https://api.github.com/users/DavidHernandez/followers","following_url":"https://api.github.com/users/DavidHernandez/following{/other_user}","gists_url":"https://api.github.com/users/DavidHernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidHernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidHernandez/subscriptions","organizations_url":"https://api.github.com/users/DavidHernandez/orgs","repos_url":"https://api.github.com/users/DavidHernandez/repos","events_url":"https://api.github.com/users/DavidHernandez/events{/privacy}","received_events_url":"https://api.github.com/users/DavidHernandez/received_events","type":"User","site_admin":false},"body":" - Upgraded ruby version to 2.3.1 as there is no official Docker Ruby container running 2.3.0\r\n\r\n - Added -b 0.0.0.0 on the Rakefile to properly allow access to the container.\r\n\r\n - Added docker-compose.yml to support Docker Compose and avoid usage of hard and difficult Docker commands to build and run the containers.\r\n\r\n - Added .env.docker file with the Docker environment variables, so the users who dont want to use Docker, dont need to update the environment file.\r\n\r\n - Added Dockerfile that installs all the dependencies. This is the only required file if you dont want to use Docker Compose.\r\n\r\n - Added a start.sh script that updates the Gems only when the Gemfile changes, to avoid being required to rebuild the container. It also starts the ruby server on the container.","created_at":"2016-06-09T12:18:22Z","updated_at":"2016-06-09T14:06:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12aef750d8af4312c4ac99c78530b12bebabd0c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27/commits","review_comments_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27/comments","review_comment_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues/27/comments","statuses_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/statuses/8f6bd6ed304c2a516872abeebe410791fc436a8c","head":{"label":"DavidHernandez:docker-support","ref":"docker-support","sha":"8f6bd6ed304c2a516872abeebe410791fc436a8c","user":{"login":"DavidHernandez","id":877002,"avatar_url":"https://avatars.githubusercontent.com/u/877002?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidHernandez","html_url":"https://github.com/DavidHernandez","followers_url":"https://api.github.com/users/DavidHernandez/followers","following_url":"https://api.github.com/users/DavidHernandez/following{/other_user}","gists_url":"https://api.github.com/users/DavidHernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidHernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidHernandez/subscriptions","organizations_url":"https://api.github.com/users/DavidHernandez/orgs","repos_url":"https://api.github.com/users/DavidHernandez/repos","events_url":"https://api.github.com/users/DavidHernandez/events{/privacy}","received_events_url":"https://api.github.com/users/DavidHernandez/received_events","type":"User","site_admin":false},"repo":{"id":60722435,"name":"VLCTechHub-api","full_name":"DavidHernandez/VLCTechHub-api","owner":{"login":"DavidHernandez","id":877002,"avatar_url":"https://avatars.githubusercontent.com/u/877002?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidHernandez","html_url":"https://github.com/DavidHernandez","followers_url":"https://api.github.com/users/DavidHernandez/followers","following_url":"https://api.github.com/users/DavidHernandez/following{/other_user}","gists_url":"https://api.github.com/users/DavidHernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidHernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidHernandez/subscriptions","organizations_url":"https://api.github.com/users/DavidHernandez/orgs","repos_url":"https://api.github.com/users/DavidHernandez/repos","events_url":"https://api.github.com/users/DavidHernandez/events{/privacy}","received_events_url":"https://api.github.com/users/DavidHernandez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DavidHernandez/VLCTechHub-api","description":"","fork":true,"url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api","forks_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/forks","keys_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/teams","hooks_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/hooks","issue_events_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/issues/events{/number}","events_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/events","assignees_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/assignees{/user}","branches_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/branches{/branch}","tags_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/tags","blobs_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/statuses/{sha}","languages_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/languages","stargazers_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/stargazers","contributors_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/contributors","subscribers_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/subscribers","subscription_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/subscription","commits_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/contents/{+path}","compare_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/merges","archive_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/downloads","issues_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/issues{/number}","pulls_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/pulls{/number}","milestones_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/milestones{/number}","notifications_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/labels{/name}","releases_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/releases{/id}","deployments_url":"https://api.github.com/repos/DavidHernandez/VLCTechHub-api/deployments","created_at":"2016-06-08T18:53:52Z","updated_at":"2016-06-08T18:53:52Z","pushed_at":"2016-06-09T12:59:39Z","git_url":"git://github.com/DavidHernandez/VLCTechHub-api.git","ssh_url":"git@github.com:DavidHernandez/VLCTechHub-api.git","clone_url":"https://github.com/DavidHernandez/VLCTechHub-api.git","svn_url":"https://github.com/DavidHernandez/VLCTechHub-api","homepage":null,"size":94,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"VLCTechHub:master","ref":"master","sha":"4d1c34d2caa15458e2233ea3d1d79df49dc40540","user":{"login":"VLCTechHub","id":6561771,"avatar_url":"https://avatars.githubusercontent.com/u/6561771?v=3","gravatar_id":"","url":"https://api.github.com/users/VLCTechHub","html_url":"https://github.com/VLCTechHub","followers_url":"https://api.github.com/users/VLCTechHub/followers","following_url":"https://api.github.com/users/VLCTechHub/following{/other_user}","gists_url":"https://api.github.com/users/VLCTechHub/gists{/gist_id}","starred_url":"https://api.github.com/users/VLCTechHub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VLCTechHub/subscriptions","organizations_url":"https://api.github.com/users/VLCTechHub/orgs","repos_url":"https://api.github.com/users/VLCTechHub/repos","events_url":"https://api.github.com/users/VLCTechHub/events{/privacy}","received_events_url":"https://api.github.com/users/VLCTechHub/received_events","type":"Organization","site_admin":false},"repo":{"id":16464578,"name":"VLCTechHub-api","full_name":"VLCTechHub/VLCTechHub-api","owner":{"login":"VLCTechHub","id":6561771,"avatar_url":"https://avatars.githubusercontent.com/u/6561771?v=3","gravatar_id":"","url":"https://api.github.com/users/VLCTechHub","html_url":"https://github.com/VLCTechHub","followers_url":"https://api.github.com/users/VLCTechHub/followers","following_url":"https://api.github.com/users/VLCTechHub/following{/other_user}","gists_url":"https://api.github.com/users/VLCTechHub/gists{/gist_id}","starred_url":"https://api.github.com/users/VLCTechHub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VLCTechHub/subscriptions","organizations_url":"https://api.github.com/users/VLCTechHub/orgs","repos_url":"https://api.github.com/users/VLCTechHub/repos","events_url":"https://api.github.com/users/VLCTechHub/events{/privacy}","received_events_url":"https://api.github.com/users/VLCTechHub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VLCTechHub/VLCTechHub-api","description":"","fork":false,"url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api","forks_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/forks","keys_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/teams","hooks_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/hooks","issue_events_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues/events{/number}","events_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/events","assignees_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/assignees{/user}","branches_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/branches{/branch}","tags_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/tags","blobs_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/statuses/{sha}","languages_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/languages","stargazers_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/stargazers","contributors_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/contributors","subscribers_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/subscribers","subscription_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/subscription","commits_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/contents/{+path}","compare_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/merges","archive_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/downloads","issues_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues{/number}","pulls_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls{/number}","milestones_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/milestones{/number}","notifications_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/labels{/name}","releases_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/releases{/id}","deployments_url":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/deployments","created_at":"2014-02-02T22:12:57Z","updated_at":"2016-01-31T11:01:17Z","pushed_at":"2016-06-09T12:59:41Z","git_url":"git://github.com/VLCTechHub/VLCTechHub-api.git","ssh_url":"git@github.com:VLCTechHub/VLCTechHub-api.git","clone_url":"https://github.com/VLCTechHub/VLCTechHub-api.git","svn_url":"https://github.com/VLCTechHub/VLCTechHub-api","homepage":null,"size":93,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27"},"html":{"href":"https://github.com/VLCTechHub/VLCTechHub-api/pull/27"},"issue":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues/27"},"comments":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/VLCTechHub/VLCTechHub-api/statuses/8f6bd6ed304c2a516872abeebe410791fc436a8c"}}}}
{"actor":{"display_login":"carlosreig"}}