Skip to content

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

License

Notifications You must be signed in to change notification settings

bfs/docker-github-rubyapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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="[email protected]:myorg/myrepo.git" -e GITHUB_SSH_KEY="`cat path_to_my_github_key`" boritzio/docker-github-rubyapp

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages