Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

lheinlen/docker-geminabox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-geminabox

A docker container with a simple Gem in a Box server listening on port 9292 (behind WEBRick)

Usage

To run the container, execute the following command:

docker run -d -p 9292:9292 lheinlen/geminabox

Additional configuration

The gem data is stored in a volume at /opt/geminabox/data. You may wish to map it to a location on the host to simplify persisting the data between container upgrades.

docker run -d -p 9292:9292 -v /var/lib/geminabox-data:/opt/geminabox/data:rw lheinlen/geminabox

By default, support for legacy indexes is disabled. This can be enabled by setting the environment variable BUILD_LEGACY to true.

docker run -d -p 9292:9292 -e BUILD_LEGACY=true lheinlen/geminabox

You can also enable Gem in a Box's ability to proxy rubygems.org with the RUBYGEMS_PROXY environment variable.

docker run -d -p 9292:9292 -e RUBYGEMS_PROXY=true lheinlen/geminabox

Building

In general, the simplest way to acquire the image is to pull it from the docker index:

docker pull lheinlen/docker-geminabox

If you wish to build the image yourself, you can execute the following command:

docker build github.com/lheinlen/docker-geminabox

About

Builds a http://docker.io image for Geminabox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages