• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    Shell
  • Created about 11 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Use supervisord as the runner within dokku

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.

More Repositories

1

Fleck

C# Websocket Implementation
C#
2,286
star
2

webpack-livereload-plugin

LiveReload during webpack --watch
JavaScript
203
star
3

dokku-shoreman

Run all process types with dokku
Shell
98
star
4

que-web

A web interface for the Que queue
Ruby
88
star
5

mark-loader

Wrap Webpack modules with performance.mark and performance.measure
JavaScript
61
star
6

PostLog

An HttpAppender for log4net
C#
21
star
7

vim-jade

Vim syntax highlighting for the Jade templating engine.
Vim Script
21
star
8

hubot-newrelic2

New Relic stats from Hubot
CoffeeScript
13
star
9

sql-setup

Setting up a Postgresql instance
10
star
10

hampool

NCVEC amateur radio question pools in JSON format
JavaScript
9
star
11

que-testing

Make assertions on enqueued jobs
Ruby
8
star
12

angularjs-testing-library

Simple and complete AngularJS DOM testing utilities that encourage good testing practices.
TypeScript
7
star
13

pmrpc

JSON-RPC over postMessage
TypeScript
6
star
14

chumps

JavaScript
5
star
15

rn-mini

React Native + Snack primer
3
star
16

lua_kata

Lua
3
star
17

ServerSent

JavaScript
3
star
18

ng-templatecache

Convert html to Angular $templateCache entries
JavaScript
3
star
19

love_life

Game of life in Lua Love
Lua
3
star
20

KnockoutList

Todos.js in Knockout
JavaScript
3
star
21

Fleck.WinFormsExample

Example of using Fleck with Winforms
C#
3
star
22

SimpleMVVM

Example application displaying MVVM. Also, implements an AttachedBehavior
2
star
23

ActionContainer

A container agnostic dynamic service agent implementation
C#
2
star
24

dotfiles

My dotfiles
Vim Script
2
star
25

rsturing

Turing machine in rust
Rust
1
star
26

WindsorMefMvc

A combination of Castle Windsor and MEF with ASP MVC
JavaScript
1
star
27

hubot-lunch-rotation

Rotate lunch weekly by individuals
CoffeeScript
1
star
28

lua_euler

Working through Project Euler with Lua for some practice
Lua
1
star
29

minsin

Sinatra+Minitest Skeleton
Ruby
1
star
30

lcthw

Learn C the Hard Way Exercises
C
1
star
31

js-hs

Me just playing with Haskell
Haskell
1
star
32

RubyTutorial

Following along RubyTutorial.org
Ruby
1
star
33

cors-test

Testing redirects of cors
1
star
34

kr

Going through K&R
C
1
star
35

bayesball

A Bayes Classification Implementation
Ruby
1
star
36

SilverlightMultiUpload

A silverlight control allowing multiple files to be uploaded asynchronously.
1
star
37

tree

Ruby
1
star
38

bigo

Rust
1
star
39

chinook-web

JavaScript
1
star
40

statianzo.github.com

Trying out Jekyll
CSS
1
star
41

KnockoutListTested

A tested version of KnockoutList
JavaScript
1
star
42

append-basename-webpack-plugin

Append to basenames before resolution in webpack
JavaScript
1
star
43

JQueryList

Don't try this at home
JavaScript
1
star
44

andy

Views for Android using YAML
Ruby
1
star
45

yellowbrick

Send email -> Post blog
Ruby
1
star
46

MvcToFubu

Testing out MVC3 and Fubu
JavaScript
1
star
47

scoutcoding

Sample projects for scouting merit badge
Ruby
1
star
48

fubu-template-example

For demonstration purposes
C#
1
star
49

MultiThreadFileAccessWebApp

A web app that uses a background thread to create files from database request
JavaScript
1
star