Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minimum2scp/docker-gemstash
Docker image for gemstash
https://github.com/minimum2scp/docker-gemstash
docker-image
Last synced: 2 months ago
JSON representation
Docker image for gemstash
- Host: GitHub
- URL: https://github.com/minimum2scp/docker-gemstash
- Owner: minimum2scp
- License: mit
- Created: 2016-09-16T06:26:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T05:39:54.000Z (almost 2 years ago)
- Last Synced: 2023-04-07T23:10:57.000Z (almost 2 years ago)
- Topics: docker-image
- Language: Ruby
- Homepage: https://hub.docker.com/r/minimum2scp/gemstash/
- Size: 49.8 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-gemstash
Docker image for [gemstash](https://github.com/bundler/gemstash).
## Pull gemstash image
```shell
docker pull minimum2scp/gemstash:latest
```## Build gemstash image
```shell
docker build -t minimum2scp/gemstash:dev .
```## Run gemstash container
Run container:
```
docker run --name gemstash minimum2scp/gemstash:latest
```And use with bundler:
```shell
gemstash_uri=http://$(docker inspect gemstash | jq -r '.[].NetworkSettings.IPAddress'):9292
bundle config --global mirror.https://rubygems.org ${gemstash_uri}
```## Environment Variables
Environment variables which starts with `GEMSTASH_` will be
mapped to /etc/gemstash/config.yml by entrypoint script.- `GEMSTASH_BASE_PATH`
- `GEMSTASH_CACHE_TYPE`
- `GEMSTASH_MEMCACHED_SERVERS`
- `GEMSTASH_DB_ADAPTER`
- `GEMSTASH_DB_URL`
- `GEMSTASH_RUBYGEMS_URL`
- `GEMSTASH_BIND`
- `GEMSTASH_PROTECTED_FETCH`
- `GEMSTASH_FETCH_TIMEOUT`See https://github.com/bundler/gemstash/blob/master/docs/gemstash-configuration.5.md for details.