{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/216","labels_url":"https://api.github.com/repos/progrium/dokku/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/216/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/216/events","html_url":"https://github.com/progrium/dokku/issues/216","id":19544274,"number":216,"title":"Auto Restarting crashed apps","user":{"login":"jwarzech","id":68374,"avatar_url":"https://avatars.githubusercontent.com/u/68374?v=3","gravatar_id":"","url":"https://api.github.com/users/jwarzech","html_url":"https://github.com/jwarzech","followers_url":"https://api.github.com/users/jwarzech/followers","following_url":"https://api.github.com/users/jwarzech/following{/other_user}","gists_url":"https://api.github.com/users/jwarzech/gists{/gist_id}","starred_url":"https://api.github.com/users/jwarzech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwarzech/subscriptions","organizations_url":"https://api.github.com/users/jwarzech/orgs","repos_url":"https://api.github.com/users/jwarzech/repos","events_url":"https://api.github.com/users/jwarzech/events{/privacy}","received_events_url":"https://api.github.com/users/jwarzech/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2013-09-16T10:57:54Z","updated_at":"2015-09-17T05:19:31Z","closed_at":"2013-10-24T21:00:31Z","body":"Is there a proposed solution for monitoring dokku apps and auto restarting if the crash?  Would just setting up something like http://godrb.com/ work?"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/140972266","html_url":"https://github.com/progrium/dokku/issues/216#issuecomment-140972266","issue_url":"https://api.github.com/repos/progrium/dokku/issues/216","id":140972266,"user":{"login":"tmikoss","id":222126,"avatar_url":"https://avatars.githubusercontent.com/u/222126?v=3","gravatar_id":"","url":"https://api.github.com/users/tmikoss","html_url":"https://github.com/tmikoss","followers_url":"https://api.github.com/users/tmikoss/followers","following_url":"https://api.github.com/users/tmikoss/following{/other_user}","gists_url":"https://api.github.com/users/tmikoss/gists{/gist_id}","starred_url":"https://api.github.com/users/tmikoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmikoss/subscriptions","organizations_url":"https://api.github.com/users/tmikoss/orgs","repos_url":"https://api.github.com/users/tmikoss/repos","events_url":"https://api.github.com/users/tmikoss/events{/privacy}","received_events_url":"https://api.github.com/users/tmikoss/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T05:19:31Z","updated_at":"2015-09-17T05:19:31Z","body":"Maybe `--restart=on-failure:XX` would work, where `XX` is a reasonabe limit for retries? Though I was not able to find whether the limit gets reset after a container enters 'stable' state.\r\n\r\nMy use case as an app that dies maybe once in a couple of days due to extraordinary coincidences."}}