Use supervisord as the runner within dokku
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Deprecated as of Dokku 0.3.14 (process management) and 0.7.0 (restart policies)
Normally, dokku only runs the
webprocess within Procfile. The dokku-supervisord plugin will run all process types (web, worker, etc.) and will restart crashed applications.
As of dokku 0.4, plugins require a
plugin.tomlfile. 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.
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 renamed the
post-build-buildstepto keep compatibility with upstream dokku. If you're using an older version of dokku, be sure to pin your version to v0.3.x.
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.
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.