Skip to content

Gemstash service thrown in a container and wrapped-up with a bow.

License

Notifications You must be signed in to change notification settings

ChefAustin/gem-jar

Folders and files

NameName
Last commit message
Last commit date
May 9, 2019
May 9, 2019
May 10, 2019
May 10, 2019
May 9, 2019
Jun 25, 2020
Apr 26, 2019
Dec 10, 2019
Apr 27, 2019
May 10, 2019
May 4, 2019

Repository files navigation

gem-jar

Codacy Badge Build Status

No nonsense Gemstash instance thrown in a container, backed by sqlite and wrapped-up with a bow. Non-configurable by design; for those that just want a no frills, quickly deployable Gem caching service.

Getting started

  1. git clone https://github.com/chefaustin/gem-jar.git <= Clone this repo
  2. cd gem-jar <= Navigate into it
  3. docker run -d --name gem-jar -p 9292:9292 -v ../db:/root/.gemstash chefaustin/gem-jar:latest <= Bring container up
  4. resp_key=$(docker exec -it gem-jar gemstash authorize | cut -d ' ' -f 5) <= Generate and grab a new API key
  5. mkdir -p ~/.gem; touch ~/.gem/credentials; echo ":gemstash: $resp_key"; chmod 0600 ~/.gem/credentials <= Create and append key to ~/.gem/credentials

Improvements to come

Tests

  1. Container Structure
  2. Serverspec
  3. Dockerspec
  4. Fine-tune Docker HEALTHCHECK

Functionality

  1. Move to docker-compose with containerized ingress
  2. SSL/TLS termination (LetsEncrypt?)

Other

  1. Figure out proper FOSS LICENSE
  2. Build out wiki