{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/115","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/115/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/115/events","html_url":"https://github.com/capitalone/Hygieia/pull/115","id":104712937,"number":115,"title":"Docker containers for Hygieia and UI","user":{"login":"pjaol","id":490072,"avatar_url":"https://avatars.githubusercontent.com/u/490072?v=3","gravatar_id":"","url":"https://api.github.com/users/pjaol","html_url":"https://github.com/pjaol","followers_url":"https://api.github.com/users/pjaol/followers","following_url":"https://api.github.com/users/pjaol/following{/other_user}","gists_url":"https://api.github.com/users/pjaol/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaol/subscriptions","organizations_url":"https://api.github.com/users/pjaol/orgs","repos_url":"https://api.github.com/users/pjaol/repos","events_url":"https://api.github.com/users/pjaol/events{/privacy}","received_events_url":"https://api.github.com/users/pjaol/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-03T14:47:47Z","updated_at":"2015-10-02T16:47:51Z","closed_at":"2015-10-02T16:47:51Z","pull_request":{"url":"https://api.github.com/repos/capitalone/Hygieia/pulls/115","html_url":"https://github.com/capitalone/Hygieia/pull/115","diff_url":"https://github.com/capitalone/Hygieia/pull/115.diff","patch_url":"https://github.com/capitalone/Hygieia/pull/115.patch"},"body":"Ability to run separate Docker containers for the API and the UI, similar to production layouts.\r\n\r\nThe API is using a tomcat container and the UI is using an nginx container\r\nThe docker images are part of the maven compile using spotify's docker plugin\r\n\r\n```bash\r\ncd api\r\nmvn clean package docker:build\r\n\r\ncd ../UI\r\nmvn clean package docker:build\r\n```\r\nThis will create 2 containers for you, hygieia_api and hygieia_ui\r\nYou can now create a swarm, connect a docker or managed mongo, to run it all within a standard docker-machine\r\n\r\n```bash\r\ndocker run -h mongo -d --name mongo mongo:latest\r\ndocker run -h hygieia_api --link mongo:mongo -P -d --name hygieia_api hygieia_api\r\ndocker run -d -P -h hygieia_ui --name hygieia_ui --link hygieia_api:api hygieia_ui\r\n```\r\nhygieia_api expects a network link / alias called mongo\r\nhygieia_ui expects a network link / alias called hygieia_api \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/145083826","html_url":"https://github.com/capitalone/Hygieia/pull/115#issuecomment-145083826","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/115","id":145083826,"user":{"login":"jdamick","id":12317,"avatar_url":"https://avatars.githubusercontent.com/u/12317?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamick","html_url":"https://github.com/jdamick","followers_url":"https://api.github.com/users/jdamick/followers","following_url":"https://api.github.com/users/jdamick/following{/other_user}","gists_url":"https://api.github.com/users/jdamick/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamick/subscriptions","organizations_url":"https://api.github.com/users/jdamick/orgs","repos_url":"https://api.github.com/users/jdamick/repos","events_url":"https://api.github.com/users/jdamick/events{/privacy}","received_events_url":"https://api.github.com/users/jdamick/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T16:47:51Z","updated_at":"2015-10-02T16:47:51Z","body":"closed by pull #129 "}}