Public | Automated Build

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

Docker Nginx RubyApp from Github

Docker image based on passenger:baseimage that pulls a github repo (limited to optional subfolder) and starts a ruby passenger app such as rails or sinatra

Environment variables:

  • GITHUB_REPO (required)
  • GITHUB_SSH_KEY (required)
  • GIT_PATH (optional, defaults to "/")
  • GIT_BRANCH (optional, defaults to "master")

You can then run via

docker run -p 80:80  --name github-rubyapp -e GITHUB_REPO="" -e GITHUB_SSH_KEY="`cat path_to_my_github_key`" boritzio/docker-github-rubyapp
Docker Pull Command
Source Repository