Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Resque Web in Docker

This project is a Docker container for Resque Web. The container is based on ruby, and then installs the resque-web gem.

Getting the container

Build it

docker build -t freshsauce/resque-web .

Or download the container run

docker pull freshsauce/resque-web

Using the container

Run the container with the same options you use for resque-web. The options -F (run in foreground) and -L (do not launch browser) are included by default.
If no options are provided, the help screen for resque-web will be displayed.

To run it once, that removes itself on exit

docker run --rm -p 5678:5678 --link cf_redis:redis freshsauce/resque-web -r redis://redis:6379

To run the container as a background process run

docker run -d --restart=always --name resque-web -p 5678:5678 --link cf_redis:redis freshsauce/resque-web -r redis://redis:6379

NB: In the above examples, replace redis:6379 with the ip address/hostname and port of your redis server.

Docker Pull Command