{"action":"created","issue":{"url":"https://api.github.com/repos/tes/bosco/issues/74","labels_url":"https://api.github.com/repos/tes/bosco/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/tes/bosco/issues/74/comments","events_url":"https://api.github.com/repos/tes/bosco/issues/74/events","html_url":"https://github.com/tes/bosco/pull/74","id":67707737,"number":74,"title":"Adding external depencency support","user":{"login":"cressie176","id":229672,"avatar_url":"https://avatars.githubusercontent.com/u/229672?v=3","gravatar_id":"","url":"https://api.github.com/users/cressie176","html_url":"https://github.com/cressie176","followers_url":"https://api.github.com/users/cressie176/followers","following_url":"https://api.github.com/users/cressie176/following{/other_user}","gists_url":"https://api.github.com/users/cressie176/gists{/gist_id}","starred_url":"https://api.github.com/users/cressie176/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cressie176/subscriptions","organizations_url":"https://api.github.com/users/cressie176/orgs","repos_url":"https://api.github.com/users/cressie176/repos","events_url":"https://api.github.com/users/cressie176/events{/privacy}","received_events_url":"https://api.github.com/users/cressie176/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tes/bosco/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-11T00:02:59Z","updated_at":"2015-04-11T00:14:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tes/bosco/pulls/74","html_url":"https://github.com/tes/bosco/pull/74","diff_url":"https://github.com/tes/bosco/pull/74.diff","patch_url":"https://github.com/tes/bosco/pull/74.patch"},"body":"You can depend on external docker files, or TES own ones without adding them to your team. Either add an externals list to the project's bosco-service.json\r\n\r\n```json\r\n{\r\n    \"tags\": [\"jobs\"],\r\n    \"service\": {\r\n        \"name\": \"http2amqp\",\r\n        \"externals\": [{\r\n            \"name\":\"infra-rabbitmq\",\r\n            \"service\": {\r\n                \"type\":\"docker\",\r\n                \"name\":\"infra-rabbitmq\",\r\n                \"registry\":\"docker-registry.tescloud.com\",\r\n                \"username\": \"tescloud\",\r\n                \"version\": \"latest\",\r\n                \"alwaysPull\": true,\r\n                \"docker\":{\r\n                    \"HostConfig\": {\r\n                        \"PortBindings\": {\r\n                            \"5672/tcp\": [{\r\n                                \"HostIp\": \"0.0.0.0\",\r\n                                \"HostPort\": \"5672\"\r\n                             }],\r\n                            \"15672/tcp\":  [{\r\n                                \"HostIp\": \"0.0.0.0\",\r\n                                \"HostPort\": \"15672\"\r\n                            }]\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n        }]\r\n    }\r\n}\r\n```\r\nor define the external in ~/.bosco.json and reference it in the project's bosco-service.json\r\n```json\r\n{\r\n    \"tags\": [\"jobs\"],\r\n    \"service\": {\r\n        \"name\": \"http2amqp\",\r\n        \"externals\": [\"infra-rabbitmq\"]\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/tes/bosco/issues/comments/91725545","html_url":"https://github.com/tes/bosco/pull/74#issuecomment-91725545","issue_url":"https://api.github.com/repos/tes/bosco/issues/74","id":91725545,"user":{"login":"cressie176","id":229672,"avatar_url":"https://avatars.githubusercontent.com/u/229672?v=3","gravatar_id":"","url":"https://api.github.com/users/cressie176","html_url":"https://github.com/cressie176","followers_url":"https://api.github.com/users/cressie176/followers","following_url":"https://api.github.com/users/cressie176/following{/other_user}","gists_url":"https://api.github.com/users/cressie176/gists{/gist_id}","starred_url":"https://api.github.com/users/cressie176/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cressie176/subscriptions","organizations_url":"https://api.github.com/users/cressie176/orgs","repos_url":"https://api.github.com/users/cressie176/repos","events_url":"https://api.github.com/users/cressie176/events{/privacy}","received_events_url":"https://api.github.com/users/cressie176/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T00:14:23Z","updated_at":"2015-04-11T00:14:23Z","body":"Should probably have considered adding to the projects .bosco/local.json?"}}