Sign inSign up

skord/geminacontainer

By skord

•Updated almost 11 years ago

Image
0

2.0K

skord/geminacontainer repository overview

⁠Geminacontainer

Geminacontainer is a docker image for geminabox. By default it will proxy upstream gems from rubygems.org.

⁠Usage

To push to geminabox, you need to set your credentials to missing like this:

~/.gem/credentials

---
:rubygems_api_key: 'missing'

This file must be set to have the permissions 0600.

⁠Examples

Running with no auth on port 8080:

docker run -p 8080:80 geminacontainer

Running with auth only for uploads and deletions:

docker run -e PERMISSIONS_FLAVOR=PUBLIC_READ -e USERNAME=username -e PASSWORD=password -p 8080:80 geminacontainer

Running with http basic auth for all actions:

docker run -e PERMISSIONS_FLAVOR=PRIVATE -e USERNAME=username -e PASSWORD=password -p 8080:80 geminacontainer

Running with a persistent data directory:

mkdir -p /opt/gems
docker run -v /opt/gems:/data/geminabox-data -p 8080:80 geminacontainer

Tag summary

Content type

Image

Digest

sha256:ff67b18b5…

Size

319.8 MB

Last updated

almost 11 years ago

docker pull skord/geminacontainer