/dokku-supervisord

Use supervisord as the runner within dokku

Primary LanguageShell

dokku-supervisord

dokku-supervisord is a plugin for dokku that injects supervisord to run applications. It will convert a normal Procfile to supervisord.conf format when starting the application.

Normally, dokku only runs the web process within Procfile. The dokku-supervisord plugin will run all process types (web, worker, etc.) and will restart crashed applications.

Installation

dokku plugin:install https://github.com/jwigley/dokku-supervisord.git

All future deployments will use supervisord to start all processes.

v0.4.0 breaking change

v0.4.0 renamed the post-release to post-build-buildstep to keep compatibility with upstream dokku. If you're using an older version of dokku, be sure to pin your version to v0.3.x.

Docker 0.10 support

dokku-supervisord v0.3.0 changed the expected namespace from "app" to "dokku" to support Docker 0.10. See details within the dokku issue. If you're using a dokku version from before this commit, stick with v0.2.x of dokku-supervisord.

License

The MIT License (MIT)

Copyright (c) 2013-2014 Jason Staten

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.