Giter Site home page Giter Site logo

prototype-imageproxy's Introduction

Prototype Imageproxy

For deploying to Elastic Beanstalk (EB)

dvm use 17.12.1-ce # what EB is on at time of writing

docker build -t oreillymedia/prototype-imageproxy .
docker push oreillymedia/prototype-imageproxy
zip prototype-imageproxy.zip Dockerrun.aws.json

And then take the resulting zip file and put it on EB where it says Update and Deploy

NB: The env vars were added to the dockerfile in a moment of desperation. They shouldn't be necessary, as they should be set in the EB admin under Configuration | Software Configuration.

After which, you'll want to set up a cloudfront distribution for the imageproxy, or use an existing one.

Heroku deploy

This repo now holds configuration to deploy the imageproxy to Elastic Beanstalk. To see the old Heroku deploy config, see the heroku branch.

This is a small repo that held the packages and Procfile for deploying the imageproxy on Heroku.

To update the packages:

  • godep save
  • git add .; git commit -m 'updated dependencies'
  • git push heroku master

prototype-imageproxy's People

Contributors

fchasen avatar runemadsen avatar zischwartz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prototype-imageproxy's Issues

Docs correct?

Found this through a link on the imageproxy readme.

Tried following the docs to deploy via EB, but having some problems.

Could you update the docs to show how others can deploy their own instance?

I'm not overly familiar with Go nor EB

Executing: /usr/bin/unzip -o -d /var/app/staging /opt/elasticbeanstalk/deploy/appsource/source_bundle
Archive: /opt/elasticbeanstalk/deploy/appsource/source_bundle
inflating: /var/app/staging/Dockerrun.aws.json
Unable to launch application as the source bundle does not contain a Buildfile, Procfile or an executable.

But at a gander, zipping just the Dockerrun.aws.json file isn't correct? Should the Dockerfile (edited to remove oreilly specific env vars) and main.go also be included?

Heroku Deploy broken

Hi,

Followed the docs for heroku deploy and it's broken. it gets rejected, any suggestions?

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.