/s3_image_uploader

Simple front end to upload images to S3

Primary LanguageRubyMIT LicenseMIT

ImageUploader

Uploads images to S3, using a front end as disguise

Developing

Getting Dependencies

bundle install

Environment Variables

The following variables are required during runtime

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_BUCKET=

Shipping

docker build . -t image_uploader:latest
export DESIRED_PORT=9292
export ENVIRONMENT=production
docker run -p "$DESIRED_PORT":9292 image_uploader:latest bundle exec rackup -o 0.0.0.0 -E "$ENVIRONMENT"

Contributors

  • Diego Camargo