Inactive Project: I've stopped using this project in favor of serving directly from S3 + CloudFront
Proxy server for packages stored in S3
First, you need packages on S3 to serve. The packages can be managed with the s3repo gem. For an example, see my repo repo.
I run this inside my dock0/amylum docker container. Instructions for that can be found in its README, but it essentially amounts to setting the following env vars and running the container (which runs the server's procfile):
- AWS_ACCESS_KEY_ID: access key for S3 credentials
- AWS_SECRET_ACCESS_KEY: secret key for S3 credentials
- AWS_REGION: region of S3 bucket
- S3_BUCKET: bucket name where packages are stored
- MAINTAINER_EMAIL: email to show on error pages
- PUMA_ADDRESS: address to bind to, defaults to localhost
- PUMA_HTTP_PORT: port for HTTP (defaults to 8080)
- PUMA_SSL: enable SSL listening
- PUMA_HTTPS_PORT: port for HTTPS (defaults to 8443)
- PUMA_SSL_DIR: directory for finding ./cert and ./key for SSL
This repo is released under the MIT License. See the bundled LICENSE file for details.