Public | Automated Build

Last pushed: 13 hours ago
Short Description
Server for Ruby Gems, also caching proxy and mirror, if you're into that sort of thing.
Full Description

docker-rubygems-server

Description

Docker image providing rubygems-mirror and a gem server.

Deploying your Gem Server

Create a data container, so the gem server itself can be redeployed easily:

docker create --name rubygems-data -v /srv/gems busybox

Run the server:

docker run -d --volumes-from rubygems-data -p 9292 colstrom/rubygems-server

Using your Gem Server

Set your rubygems mirror by following:

bundle config mirror.http://rubygems.org http://0.0.0.0:9292

Authenticating with GitHub

To restrict access to your Gem Server, you can set two environment variables:

  • GITHUB_ORGANIZATION to the organization you want to restrict access to.

If set, the Gem Server will require a valid GitHub token with org permissions, provided as a 'password' via HTTP Basic Auth.

If the user associated with the token is a member of the GITHUB_ORGANIZATION you set, that user will have access.

License

MIT

Contributors

Docker Pull Command
Owner
colstrom
Source Repository