Septober is a TODO list developed in Ruby on Rails with lots of humour.
sudo docker run -it palladius/septober:v1 bash cd /home/riccardo/git/septober/ && make run
Run as a devel service (on local port 3000):
sudo docker run -p 3000:3000 -d palladius/septober:v1 /bin/sh -c "cd /home/riccardo/git/septober && make run"
Run prod service (on port 80, note that RAILS_ENV=production screws up the pics (!!)):
sudo docker run -it -p 80:3000 palladius/septober:v1.1 # to enter and debug
or as a service (Septober as a Service (TM) ):
sudo docker run -p 80:3000 palladius/septober:v1.1 /bin/sh -c "cd /home/riccardo/git/septober && make run-prod"
Now server starts with the docker container, so it's even easier:
# runs RoR stack in PROD :3000 bridged on port 80 docker run -p 80:3000 palladius/septober:v1.2