{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1018","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1018/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1018/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1018/events","html_url":"https://github.com/weaveworks/weave/issues/1018","id":91017685,"number":1018,"title":"more flexible container name -> hostname derivation","user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weaveworks/weave/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/weaveworks/weave/labels/[component/proxy]","name":"[component/proxy]","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/weaveworks/weave/milestones/11","html_url":"https://github.com/weaveworks/weave/milestones/current","labels_url":"https://api.github.com/repos/weaveworks/weave/milestones/11/labels","id":1190496,"number":11,"title":"current","description":"current timebox","creator":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":12,"state":"open","created_at":"2015-07-02T12:12:39Z","updated_at":"2015-07-06T11:54:11Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-06-25T16:48:44Z","updated_at":"2015-07-06T13:00:52Z","closed_at":null,"body":"See the discussion in #1006.\r\n\r\nThe idea proposed there is to derive the hostname from the container name in the proxy via a configurable regexps. Defaults to `\".*\"` and could be set to `\"^$\"` for disabiling hostname derivation (i.e. if the regexps matches nothing then we shouldn't set the hostname). Should support sub-matches, e.g. `\"aws-[0-9]+-\\(.*\\)\"`.\r\n\r\nWe *could* have an env-var equivalent for `weave run`. Overkill?"},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/118848177","html_url":"https://github.com/weaveworks/weave/issues/1018#issuecomment-118848177","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1018","id":118848177,"user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T13:00:52Z","updated_at":"2015-07-06T13:00:52Z","body":"`--hostname-from-container-name`?"}}