1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-03 10:43:58 +02:00

Deploy to Heroku with Docker (#50)

* Try out deploying Docker image to Heroku

* Add heroku.yml
This commit is contained in:
Sergey Alexandrovich 2018-02-02 19:18:14 +06:00 committed by GitHub
parent 68d7ac331e
commit d7cc247439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 7 deletions

View File

@ -1,2 +0,0 @@
:repo:deb http://ppa.launchpad.net/dhor/myway/ubuntu xenial main
libvips-dev

View File

@ -3,7 +3,7 @@
"description": "Fast and secure standalone server for resizing and converting remote images.",
"keywords": ["image", "resize-images", "crop-image", "microservice", "docker", "jpeg", "png", "libvips"],
"repository": "https://github.com/DarthSim/imgproxy",
"stack": "heroku-16",
"stack": "container",
"env": {
"IMGPROXY_KEY": {
"description": "Hex-encoded secret key for signing URLs.",
@ -16,8 +16,5 @@
"required": true
}
},
"buildpacks": [
{ "url": "https://github.com/heroku/heroku-buildpack-apt" },
{ "url": "https://github.com/heroku/heroku-buildpack-go" }
]
"image": "darthsim/imgproxy"
}

3
heroku.yml Normal file
View File

@ -0,0 +1,3 @@
build:
docker:
web: Dockerfile