{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher-compose/issues/45","labels_url":"https://api.github.com/repos/rancher/rancher-compose/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher-compose/issues/45/comments","events_url":"https://api.github.com/repos/rancher/rancher-compose/issues/45/events","html_url":"https://github.com/rancher/rancher-compose/issues/45","id":95962391,"number":45,"title":"rancher-compose needs to exit once complete","user":{"login":"flaccid","id":131730,"avatar_url":"https://avatars.githubusercontent.com/u/131730?v=3","gravatar_id":"","url":"https://api.github.com/users/flaccid","html_url":"https://github.com/flaccid","followers_url":"https://api.github.com/users/flaccid/followers","following_url":"https://api.github.com/users/flaccid/following{/other_user}","gists_url":"https://api.github.com/users/flaccid/gists{/gist_id}","starred_url":"https://api.github.com/users/flaccid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaccid/subscriptions","organizations_url":"https://api.github.com/users/flaccid/orgs","repos_url":"https://api.github.com/users/flaccid/repos","events_url":"https://api.github.com/users/flaccid/events{/privacy}","received_events_url":"https://api.github.com/users/flaccid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars.githubusercontent.com/u/1754002?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-07-20T00:31:43Z","updated_at":"2015-07-20T16:49:36Z","closed_at":null,"body":"Almost all of the time when running rancher-compose, say with 'up', once all tasks are complete the process continues to run - I assume mostly for the end user to monitoring the output from containers.\r\n\r\nA kind of non-interactive mode is required for scripts so once all tasks are completed, the process exits 0 (and exits non-zero on failure).\r\n\r\nThe main use case is for doing CI/CD e.g. Jenkins, Bamboo etc. If this feature is currently supported, please let me know and we look at updating the docs, if not this issue should probably be regarded as a bug (its currently blocking us)."},"comment":{"url":"https://api.github.com/repos/rancher/rancher-compose/issues/comments/122947004","html_url":"https://github.com/rancher/rancher-compose/issues/45#issuecomment-122947004","issue_url":"https://api.github.com/repos/rancher/rancher-compose/issues/45","id":122947004,"user":{"login":"alena1108","id":1562176,"avatar_url":"https://avatars.githubusercontent.com/u/1562176?v=3","gravatar_id":"","url":"https://api.github.com/users/alena1108","html_url":"https://github.com/alena1108","followers_url":"https://api.github.com/users/alena1108/followers","following_url":"https://api.github.com/users/alena1108/following{/other_user}","gists_url":"https://api.github.com/users/alena1108/gists{/gist_id}","starred_url":"https://api.github.com/users/alena1108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena1108/subscriptions","organizations_url":"https://api.github.com/users/alena1108/orgs","repos_url":"https://api.github.com/users/alena1108/repos","events_url":"https://api.github.com/users/alena1108/events{/privacy}","received_events_url":"https://api.github.com/users/alena1108/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T16:49:36Z","updated_at":"2015-07-20T16:49:36Z","body":"@flaccid @deniseschannon  `rancher-compose up -d` will exit when all services are active - confirmed with @ibuildthecloud. It has to be documented though if its not, so adding \"doc\" label."}}