{"action":"created","comment":{"url":"https://api.github.com/repos/autopilotpattern/nginx/pulls/comments/61084680","id":61084680,"diff_hunk":"@@ -0,0 +1,33 @@\n+nginx:\n+    extends:\n+        file: docker-compose.yml\n+        service: nginx\n+    build: .\n+    mem_limit: 128g\n+    links:\n+        - consul:consul\n+    environment:\n+        - CONSUL=consul","path":"local-compose.yml","position":10,"original_position":10,"commit_id":"1ac8ba5ecafb3f4605c32e1634b717786987297d","original_commit_id":"1ac8ba5ecafb3f4605c32e1634b717786987297d","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"body":"You have `link` repeated in this service, and if you have a link for `- consul:consul` then you'll automatically have the hostname `consul` in your `/etc/hosts` in the container (or in the Docker-hijacked DNS, if I understand correctly).","created_at":"2016-04-26T13:29:35Z","updated_at":"2016-04-26T13:29:35Z","html_url":"https://github.com/autopilotpattern/nginx/pull/12#discussion_r61084680","pull_request_url":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/autopilotpattern/nginx/pulls/comments/61084680"},"html":{"href":"https://github.com/autopilotpattern/nginx/pull/12#discussion_r61084680"},"pull_request":{"href":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12","id":67589217,"html_url":"https://github.com/autopilotpattern/nginx/pull/12","diff_url":"https://github.com/autopilotpattern/nginx/pull/12.diff","patch_url":"https://github.com/autopilotpattern/nginx/pull/12.patch","issue_url":"https://api.github.com/repos/autopilotpattern/nginx/issues/12","number":12,"state":"open","locked":false,"title":"Make more generic","user":{"login":"misterbisson","id":1709697,"avatar_url":"https://avatars.githubusercontent.com/u/1709697?v=3","gravatar_id":"","url":"https://api.github.com/users/misterbisson","html_url":"https://github.com/misterbisson","followers_url":"https://api.github.com/users/misterbisson/followers","following_url":"https://api.github.com/users/misterbisson/following{/other_user}","gists_url":"https://api.github.com/users/misterbisson/gists{/gist_id}","starred_url":"https://api.github.com/users/misterbisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterbisson/subscriptions","organizations_url":"https://api.github.com/users/misterbisson/orgs","repos_url":"https://api.github.com/users/misterbisson/repos","events_url":"https://api.github.com/users/misterbisson/events{/privacy}","received_events_url":"https://api.github.com/users/misterbisson/received_events","type":"User","site_admin":false},"body":"- Update consul-template\r\n- Dockerfile cleanup\r\n- Clean up example, move it to top level\r\n- Add telemetry per https://github.com/autopilotpattern/nginx/issues/10\r\n\r\nSee https://github.com/autopilotpattern/wordpress/pull/12 / https://github.com/autopilotpattern/wordpress/tree/progress-nginx/nginx for how I expect to use this in a project.\r\n\r\n/cc @tgross @dekobon ","created_at":"2016-04-23T00:21:01Z","updated_at":"2016-04-26T13:29:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcf93e3ce436f526f0b3e707978c0b438b94f57b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12/commits","review_comments_url":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12/comments","review_comment_url":"https://api.github.com/repos/autopilotpattern/nginx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/autopilotpattern/nginx/issues/12/comments","statuses_url":"https://api.github.com/repos/autopilotpattern/nginx/statuses/1ac8ba5ecafb3f4605c32e1634b717786987297d","head":{"label":"autopilotpattern:genericize","ref":"genericize","sha":"1ac8ba5ecafb3f4605c32e1634b717786987297d","user":{"login":"autopilotpattern","id":17654958,"avatar_url":"https://avatars.githubusercontent.com/u/17654958?v=3","gravatar_id":"","url":"https://api.github.com/users/autopilotpattern","html_url":"https://github.com/autopilotpattern","followers_url":"https://api.github.com/users/autopilotpattern/followers","following_url":"https://api.github.com/users/autopilotpattern/following{/other_user}","gists_url":"https://api.github.com/users/autopilotpattern/gists{/gist_id}","starred_url":"https://api.github.com/users/autopilotpattern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autopilotpattern/subscriptions","organizations_url":"https://api.github.com/users/autopilotpattern/orgs","repos_url":"https://api.github.com/users/autopilotpattern/repos","events_url":"https://api.github.com/users/autopilotpattern/events{/privacy}","received_events_url":"https://api.github.com/users/autopilotpattern/received_events","type":"Organization","site_admin":false},"repo":{"id":44693229,"name":"nginx","full_name":"autopilotpattern/nginx","owner":{"login":"autopilotpattern","id":17654958,"avatar_url":"https://avatars.githubusercontent.com/u/17654958?v=3","gravatar_id":"","url":"https://api.github.com/users/autopilotpattern","html_url":"https://github.com/autopilotpattern","followers_url":"https://api.github.com/users/autopilotpattern/followers","following_url":"https://api.github.com/users/autopilotpattern/following{/other_user}","gists_url":"https://api.github.com/users/autopilotpattern/gists{/gist_id}","starred_url":"https://api.github.com/users/autopilotpattern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autopilotpattern/subscriptions","organizations_url":"https://api.github.com/users/autopilotpattern/orgs","repos_url":"https://api.github.com/users/autopilotpattern/repos","events_url":"https://api.github.com/users/autopilotpattern/events{/privacy}","received_events_url":"https://api.github.com/users/autopilotpattern/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autopilotpattern/nginx","description":"An Nginx container for container-native deployment and automatic backend discovery","fork":false,"url":"https://api.github.com/repos/autopilotpattern/nginx","forks_url":"https://api.github.com/repos/autopilotpattern/nginx/forks","keys_url":"https://api.github.com/repos/autopilotpattern/nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autopilotpattern/nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autopilotpattern/nginx/teams","hooks_url":"https://api.github.com/repos/autopilotpattern/nginx/hooks","issue_events_url":"https://api.github.com/repos/autopilotpattern/nginx/issues/events{/number}","events_url":"https://api.github.com/repos/autopilotpattern/nginx/events","assignees_url":"https://api.github.com/repos/autopilotpattern/nginx/assignees{/user}","branches_url":"https://api.github.com/repos/autopilotpattern/nginx/branches{/branch}","tags_url":"https://api.github.com/repos/autopilotpattern/nginx/tags","blobs_url":"https://api.github.com/repos/autopilotpattern/nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autopilotpattern/nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autopilotpattern/nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/autopilotpattern/nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autopilotpattern/nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/autopilotpattern/nginx/languages","stargazers_url":"https://api.github.com/repos/autopilotpattern/nginx/stargazers","contributors_url":"https://api.github.com/repos/autopilotpattern/nginx/contributors","subscribers_url":"https://api.github.com/repos/autopilotpattern/nginx/subscribers","subscription_url":"https://api.github.com/repos/autopilotpattern/nginx/subscription","commits_url":"https://api.github.com/repos/autopilotpattern/nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/autopilotpattern/nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/autopilotpattern/nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/autopilotpattern/nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/autopilotpattern/nginx/contents/{+path}","compare_url":"https://api.github.com/repos/autopilotpattern/nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autopilotpattern/nginx/merges","archive_url":"https://api.github.com/repos/autopilotpattern/nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autopilotpattern/nginx/downloads","issues_url":"https://api.github.com/repos/autopilotpattern/nginx/issues{/number}","pulls_url":"https://api.github.com/repos/autopilotpattern/nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/autopilotpattern/nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/autopilotpattern/nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autopilotpattern/nginx/labels{/name}","releases_url":"https://api.github.com/repos/autopilotpattern/nginx/releases{/id}","deployments_url":"https://api.github.com/repos/autopilotpattern/nginx/deployments","created_at":"2015-10-21T17:36:30Z","updated_at":"2016-04-15T17:15:16Z","pushed_at":"2016-04-25T23:31:11Z","git_url":"git://github.com/autopilotpattern/nginx.git","ssh_url":"git@github.com:autopilotpattern/nginx.git","clone_url":"https://github.com/autopilotpattern/nginx.git","svn_url":"https://github.com/autopilotpattern/nginx","homepage":null,"size":38,"stargazers_count":1,"watchers_count":1,"language":"Shell","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":1,"default_branch":"master"}},"base":{"label":"autopilotpattern:master","ref":"master","sha":"d1ba6045572faad0b9c542d8010fb0db8f8a754d","user":{"login":"autopilotpattern","id":17654958,"avatar_url":"https://avatars.githubusercontent.com/u/17654958?v=3","gravatar_id":"","url":"https://api.github.com/users/autopilotpattern","html_url":"https://github.com/autopilotpattern","followers_url":"https://api.github.com/users/autopilotpattern/followers","following_url":"https://api.github.com/users/autopilotpattern/following{/other_user}","gists_url":"https://api.github.com/users/autopilotpattern/gists{/gist_id}","starred_url":"https://api.github.com/users/autopilotpattern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autopilotpattern/subscriptions","organizations_url":"https://api.github.com/users/autopilotpattern/orgs","repos_url":"https://api.github.com/users/autopilotpattern/repos","events_url":"https://api.github.com/users/autopilotpattern/events{/privacy}","received_events_url":"https://api.github.com/users/autopilotpattern/received_events","type":"Organization","site_admin":false},"repo":{"id":44693229,"name":"nginx","full_name":"autopilotpattern/nginx","owner":{"login":"autopilotpattern","id":17654958,"avatar_url":"https://avatars.githubusercontent.com/u/17654958?v=3","gravatar_id":"","url":"https://api.github.com/users/autopilotpattern","html_url":"https://github.com/autopilotpattern","followers_url":"https://api.github.com/users/autopilotpattern/followers","following_url":"https://api.github.com/users/autopilotpattern/following{/other_user}","gists_url":"https://api.github.com/users/autopilotpattern/gists{/gist_id}","starred_url":"https://api.github.com/users/autopilotpattern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autopilotpattern/subscriptions","organizations_url":"https://api.github.com/users/autopilotpattern/orgs","repos_url":"https://api.github.com/users/autopilotpattern/repos","events_url":"https://api.github.com/users/autopilotpattern/events{/privacy}","received_events_url":"https://api.github.com/users/autopilotpattern/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autopilotpattern/nginx","description":"An Nginx container for container-native deployment and automatic backend discovery","fork":false,"url":"https://api.github.com/repos/autopilotpattern/nginx","forks_url":"https://api.github.com/repos/autopilotpattern/nginx/forks","keys_url":"https://api.github.com/repos/autopilotpattern/nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autopilotpattern/nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autopilotpattern/nginx/teams","hooks_url":"https://api.github.com/repos/autopilotpattern/nginx/hooks","issue_events_url":"https://api.github.com/repos/autopilotpattern/nginx/issues/events{/number}","events_url":"https://api.github.com/repos/autopilotpattern/nginx/events","assignees_url":"https://api.github.com/repos/autopilotpattern/nginx/assignees{/user}","branches_url":"https://api.github.com/repos/autopilotpattern/nginx/branches{/branch}","tags_url":"https://api.github.com/repos/autopilotpattern/nginx/tags","blobs_url":"https://api.github.com/repos/autopilotpattern/nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autopilotpattern/nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autopilotpattern/nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/autopilotpattern/nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autopilotpattern/nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/autopilotpattern/nginx/languages","stargazers_url":"https://api.github.com/repos/autopilotpattern/nginx/stargazers","contributors_url":"https://api.github.com/repos/autopilotpattern/nginx/contributors","subscribers_url":"https://api.github.com/repos/autopilotpattern/nginx/subscribers","subscription_url":"https://api.github.com/repos/autopilotpattern/nginx/subscription","commits_url":"https://api.github.com/repos/autopilotpattern/nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/autopilotpattern/nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/autopilotpattern/nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/autopilotpattern/nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/autopilotpattern/nginx/contents/{+path}","compare_url":"https://api.github.com/repos/autopilotpattern/nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autopilotpattern/nginx/merges","archive_url":"https://api.github.com/repos/autopilotpattern/nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autopilotpattern/nginx/downloads","issues_url":"https://api.github.com/repos/autopilotpattern/nginx/issues{/number}","pulls_url":"https://api.github.com/repos/autopilotpattern/nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/autopilotpattern/nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/autopilotpattern/nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autopilotpattern/nginx/labels{/name}","releases_url":"https://api.github.com/repos/autopilotpattern/nginx/releases{/id}","deployments_url":"https://api.github.com/repos/autopilotpattern/nginx/deployments","created_at":"2015-10-21T17:36:30Z","updated_at":"2016-04-15T17:15:16Z","pushed_at":"2016-04-25T23:31:11Z","git_url":"git://github.com/autopilotpattern/nginx.git","ssh_url":"git@github.com:autopilotpattern/nginx.git","clone_url":"https://github.com/autopilotpattern/nginx.git","svn_url":"https://github.com/autopilotpattern/nginx","homepage":null,"size":38,"stargazers_count":1,"watchers_count":1,"language":"Shell","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12"},"html":{"href":"https://github.com/autopilotpattern/nginx/pull/12"},"issue":{"href":"https://api.github.com/repos/autopilotpattern/nginx/issues/12"},"comments":{"href":"https://api.github.com/repos/autopilotpattern/nginx/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/autopilotpattern/nginx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/autopilotpattern/nginx/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/autopilotpattern/nginx/statuses/1ac8ba5ecafb3f4605c32e1634b717786987297d"}}}}