{"action":"opened","number":100,"pull_request":{"url":"https://api.github.com/repos/emilevauge/traefik/pulls/100","id":50200207,"html_url":"https://github.com/emilevauge/traefik/pull/100","diff_url":"https://github.com/emilevauge/traefik/pull/100.diff","patch_url":"https://github.com/emilevauge/traefik/pull/100.patch","issue_url":"https://api.github.com/repos/emilevauge/traefik/issues/100","number":100,"state":"open","locked":false,"title":"Allow Docker to be load balanced","user":{"login":"polds","id":2372558,"avatar_url":"https://avatars.githubusercontent.com/u/2372558?v=3","gravatar_id":"","url":"https://api.github.com/users/polds","html_url":"https://github.com/polds","followers_url":"https://api.github.com/users/polds/followers","following_url":"https://api.github.com/users/polds/following{/other_user}","gists_url":"https://api.github.com/users/polds/gists{/gist_id}","starred_url":"https://api.github.com/users/polds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polds/subscriptions","organizations_url":"https://api.github.com/users/polds/orgs","repos_url":"https://api.github.com/users/polds/repos","events_url":"https://api.github.com/users/polds/events{/privacy}","received_events_url":"https://api.github.com/users/polds/received_events","type":"User","site_admin":false},"body":"I don't know the ultimate goal of things like the Docker support. Maybe my setup was completely wrong..\r\n\r\nI did notice that when using Docker containers were not being load balanced as shown here:\r\n\r\n![screen shot 2015-11-09 at 5 19 03 pm](https://cloud.githubusercontent.com/assets/2372558/11051096/6ea03814-8709-11e5-8e8c-3d59511fcf31.png)\r\n\r\nIf the container went away Traefik would properly fall back to the next available container but 100% of the traffic was being sent to one container.\r\n\r\nWith the changes that were made to the docker.tmpl it allows servers to be load balanced:\r\n\r\n![screen shot 2015-11-09 at 5 15 08 pm](https://cloud.githubusercontent.com/assets/2372558/11051132/c22956b4-8709-11e5-9254-2066a977570b.png)\r\n\r\n**Notes:**\r\n\r\n - The `makeParsedUrl` template function was a commit on a local branch in response to #98 . Happy to submit a PR on that too.\r\n - To get the frontends to work properly I had to drastically rename how the docker implementation was naming things.\r\n\r\nAgain, I could just be out here in left field but this now works for me.","created_at":"2015-11-10T00:48:29Z","updated_at":"2015-11-10T00:48:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emilevauge/traefik/pulls/100/commits","review_comments_url":"https://api.github.com/repos/emilevauge/traefik/pulls/100/comments","review_comment_url":"https://api.github.com/repos/emilevauge/traefik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emilevauge/traefik/issues/100/comments","statuses_url":"https://api.github.com/repos/emilevauge/traefik/statuses/1f2c460b1ea2fb206509ed92221e73acfa177021","head":{"label":"polds:docker-lb","ref":"docker-lb","sha":"1f2c460b1ea2fb206509ed92221e73acfa177021","user":{"login":"polds","id":2372558,"avatar_url":"https://avatars.githubusercontent.com/u/2372558?v=3","gravatar_id":"","url":"https://api.github.com/users/polds","html_url":"https://github.com/polds","followers_url":"https://api.github.com/users/polds/followers","following_url":"https://api.github.com/users/polds/following{/other_user}","gists_url":"https://api.github.com/users/polds/gists{/gist_id}","starred_url":"https://api.github.com/users/polds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polds/subscriptions","organizations_url":"https://api.github.com/users/polds/orgs","repos_url":"https://api.github.com/users/polds/repos","events_url":"https://api.github.com/users/polds/events{/privacy}","received_events_url":"https://api.github.com/users/polds/received_events","type":"User","site_admin":false},"repo":{"id":45870528,"name":"traefik","full_name":"polds/traefik","owner":{"login":"polds","id":2372558,"avatar_url":"https://avatars.githubusercontent.com/u/2372558?v=3","gravatar_id":"","url":"https://api.github.com/users/polds","html_url":"https://github.com/polds","followers_url":"https://api.github.com/users/polds/followers","following_url":"https://api.github.com/users/polds/following{/other_user}","gists_url":"https://api.github.com/users/polds/gists{/gist_id}","starred_url":"https://api.github.com/users/polds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polds/subscriptions","organizations_url":"https://api.github.com/users/polds/orgs","repos_url":"https://api.github.com/users/polds/repos","events_url":"https://api.github.com/users/polds/events{/privacy}","received_events_url":"https://api.github.com/users/polds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/polds/traefik","description":"Træfɪk, a modern reverse proxy","fork":true,"url":"https://api.github.com/repos/polds/traefik","forks_url":"https://api.github.com/repos/polds/traefik/forks","keys_url":"https://api.github.com/repos/polds/traefik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/polds/traefik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/polds/traefik/teams","hooks_url":"https://api.github.com/repos/polds/traefik/hooks","issue_events_url":"https://api.github.com/repos/polds/traefik/issues/events{/number}","events_url":"https://api.github.com/repos/polds/traefik/events","assignees_url":"https://api.github.com/repos/polds/traefik/assignees{/user}","branches_url":"https://api.github.com/repos/polds/traefik/branches{/branch}","tags_url":"https://api.github.com/repos/polds/traefik/tags","blobs_url":"https://api.github.com/repos/polds/traefik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/polds/traefik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/polds/traefik/git/refs{/sha}","trees_url":"https://api.github.com/repos/polds/traefik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/polds/traefik/statuses/{sha}","languages_url":"https://api.github.com/repos/polds/traefik/languages","stargazers_url":"https://api.github.com/repos/polds/traefik/stargazers","contributors_url":"https://api.github.com/repos/polds/traefik/contributors","subscribers_url":"https://api.github.com/repos/polds/traefik/subscribers","subscription_url":"https://api.github.com/repos/polds/traefik/subscription","commits_url":"https://api.github.com/repos/polds/traefik/commits{/sha}","git_commits_url":"https://api.github.com/repos/polds/traefik/git/commits{/sha}","comments_url":"https://api.github.com/repos/polds/traefik/comments{/number}","issue_comment_url":"https://api.github.com/repos/polds/traefik/issues/comments{/number}","contents_url":"https://api.github.com/repos/polds/traefik/contents/{+path}","compare_url":"https://api.github.com/repos/polds/traefik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/polds/traefik/merges","archive_url":"https://api.github.com/repos/polds/traefik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/polds/traefik/downloads","issues_url":"https://api.github.com/repos/polds/traefik/issues{/number}","pulls_url":"https://api.github.com/repos/polds/traefik/pulls{/number}","milestones_url":"https://api.github.com/repos/polds/traefik/milestones{/number}","notifications_url":"https://api.github.com/repos/polds/traefik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/polds/traefik/labels{/name}","releases_url":"https://api.github.com/repos/polds/traefik/releases{/id}","created_at":"2015-11-09T22:19:02Z","updated_at":"2015-11-09T22:19:03Z","pushed_at":"2015-11-10T00:41:31Z","git_url":"git://github.com/polds/traefik.git","ssh_url":"git@github.com:polds/traefik.git","clone_url":"https://github.com/polds/traefik.git","svn_url":"https://github.com/polds/traefik","homepage":"http://traefik.io/","size":2240,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"emilevauge:master","ref":"master","sha":"85bbd49798024ce97a421d483a5d9f9d0f352317","user":{"login":"emilevauge","id":6207234,"avatar_url":"https://avatars.githubusercontent.com/u/6207234?v=3","gravatar_id":"","url":"https://api.github.com/users/emilevauge","html_url":"https://github.com/emilevauge","followers_url":"https://api.github.com/users/emilevauge/followers","following_url":"https://api.github.com/users/emilevauge/following{/other_user}","gists_url":"https://api.github.com/users/emilevauge/gists{/gist_id}","starred_url":"https://api.github.com/users/emilevauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilevauge/subscriptions","organizations_url":"https://api.github.com/users/emilevauge/orgs","repos_url":"https://api.github.com/users/emilevauge/repos","events_url":"https://api.github.com/users/emilevauge/events{/privacy}","received_events_url":"https://api.github.com/users/emilevauge/received_events","type":"User","site_admin":false},"repo":{"id":42408804,"name":"traefik","full_name":"emilevauge/traefik","owner":{"login":"emilevauge","id":6207234,"avatar_url":"https://avatars.githubusercontent.com/u/6207234?v=3","gravatar_id":"","url":"https://api.github.com/users/emilevauge","html_url":"https://github.com/emilevauge","followers_url":"https://api.github.com/users/emilevauge/followers","following_url":"https://api.github.com/users/emilevauge/following{/other_user}","gists_url":"https://api.github.com/users/emilevauge/gists{/gist_id}","starred_url":"https://api.github.com/users/emilevauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilevauge/subscriptions","organizations_url":"https://api.github.com/users/emilevauge/orgs","repos_url":"https://api.github.com/users/emilevauge/repos","events_url":"https://api.github.com/users/emilevauge/events{/privacy}","received_events_url":"https://api.github.com/users/emilevauge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emilevauge/traefik","description":"Træfɪk, a modern reverse proxy","fork":false,"url":"https://api.github.com/repos/emilevauge/traefik","forks_url":"https://api.github.com/repos/emilevauge/traefik/forks","keys_url":"https://api.github.com/repos/emilevauge/traefik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emilevauge/traefik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emilevauge/traefik/teams","hooks_url":"https://api.github.com/repos/emilevauge/traefik/hooks","issue_events_url":"https://api.github.com/repos/emilevauge/traefik/issues/events{/number}","events_url":"https://api.github.com/repos/emilevauge/traefik/events","assignees_url":"https://api.github.com/repos/emilevauge/traefik/assignees{/user}","branches_url":"https://api.github.com/repos/emilevauge/traefik/branches{/branch}","tags_url":"https://api.github.com/repos/emilevauge/traefik/tags","blobs_url":"https://api.github.com/repos/emilevauge/traefik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emilevauge/traefik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emilevauge/traefik/git/refs{/sha}","trees_url":"https://api.github.com/repos/emilevauge/traefik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emilevauge/traefik/statuses/{sha}","languages_url":"https://api.github.com/repos/emilevauge/traefik/languages","stargazers_url":"https://api.github.com/repos/emilevauge/traefik/stargazers","contributors_url":"https://api.github.com/repos/emilevauge/traefik/contributors","subscribers_url":"https://api.github.com/repos/emilevauge/traefik/subscribers","subscription_url":"https://api.github.com/repos/emilevauge/traefik/subscription","commits_url":"https://api.github.com/repos/emilevauge/traefik/commits{/sha}","git_commits_url":"https://api.github.com/repos/emilevauge/traefik/git/commits{/sha}","comments_url":"https://api.github.com/repos/emilevauge/traefik/comments{/number}","issue_comment_url":"https://api.github.com/repos/emilevauge/traefik/issues/comments{/number}","contents_url":"https://api.github.com/repos/emilevauge/traefik/contents/{+path}","compare_url":"https://api.github.com/repos/emilevauge/traefik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emilevauge/traefik/merges","archive_url":"https://api.github.com/repos/emilevauge/traefik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emilevauge/traefik/downloads","issues_url":"https://api.github.com/repos/emilevauge/traefik/issues{/number}","pulls_url":"https://api.github.com/repos/emilevauge/traefik/pulls{/number}","milestones_url":"https://api.github.com/repos/emilevauge/traefik/milestones{/number}","notifications_url":"https://api.github.com/repos/emilevauge/traefik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emilevauge/traefik/labels{/name}","releases_url":"https://api.github.com/repos/emilevauge/traefik/releases{/id}","created_at":"2015-09-13T19:04:02Z","updated_at":"2015-11-09T16:37:26Z","pushed_at":"2015-11-10T00:48:29Z","git_url":"git://github.com/emilevauge/traefik.git","ssh_url":"git@github.com:emilevauge/traefik.git","clone_url":"https://github.com/emilevauge/traefik.git","svn_url":"https://github.com/emilevauge/traefik","homepage":"http://traefik.io/","size":2918,"stargazers_count":1169,"watchers_count":1169,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":21,"forks":35,"open_issues":21,"watchers":1169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emilevauge/traefik/pulls/100"},"html":{"href":"https://github.com/emilevauge/traefik/pull/100"},"issue":{"href":"https://api.github.com/repos/emilevauge/traefik/issues/100"},"comments":{"href":"https://api.github.com/repos/emilevauge/traefik/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/emilevauge/traefik/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/emilevauge/traefik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emilevauge/traefik/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/emilevauge/traefik/statuses/1f2c460b1ea2fb206509ed92221e73acfa177021"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":10,"changed_files":1}}