https://github.com/oreillymedia/prototype-imageproxy
Config for deploying imageproxy
https://github.com/oreillymedia/prototype-imageproxy
Last synced: 21 days ago
JSON representation
Config for deploying imageproxy
- Host: GitHub
- URL: https://github.com/oreillymedia/prototype-imageproxy
- Owner: oreillymedia
- Created: 2015-08-12T19:01:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T19:18:12.000Z (about 6 years ago)
- Last Synced: 2025-03-21T08:51:20.208Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 2.22 MB
- Stars: 5
- Watchers: 22
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Prototype Imageproxy
For deploying to Elastic Beanstalk (EB)
```
dvm use 17.12.1-ce # what EB is on at time of writingdocker 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`