Skip to content

statianzo/dokku-supervisord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dokku-supervisord

Deprecated as of Dokku 0.3.14 (process management) and 0.7.0 (restart policies)

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.

Not compatible with dokku 0.4+

As of dokku 0.4, plugins require a plugin.toml file. dokku-supervisord will not install correctly. Also, the functionality of multiple proceses and restarting is built into dokku now and should not require a plugin. See issue #30 for details. If you're still interested in using supervisord past dokku 0.4 check out dokku-logging-supervisord.

Installation

git clone https://github.com/statianzo/dokku-supervisord.git /var/lib/dokku/plugins/dokku-supervisord
dokku plugins-install

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.

About

Use supervisord as the runner within dokku

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages