Skip to content

g8d3/dokku-sidekiq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Sidekiq plugin for Dokku

Adds a post-deploy hook to Dokku to automatically deploy a container running a Sidekiq worker

Assumes you have a REDIS server running and have specified a REDIS_URL in your dokku app ENV file such as export REDIS_URL=redis://172.17.0.20:6379/0

Project: https://github.com/progrium/dokku

Installation

cd /var/lib/dokku/plugins
git clone https://github.com/bigboxsoftware/dokku-sidekiq sidekiq
dokku plugins-install

Commands

$ dokku help
     sidekiq:activate <app>     Activate automatic deployment of a sidekiq worker 
     sidekiq:deactivate <app>   Deactivate automatic deployment of a sidekiq worker

Simple usage

Specify a Sidekiq worker should be started up for a deployed app:

$ dokku sidekiq:activate foo              # Server side
$ ssh dokku@server sidekiq:activate foo # Client side



About

dokku-sidekiq

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%