-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production ready ? #21
Comments
Yes, we're using it in production (https://static.tripviss.com on KeyCDN). 😄 For known issues just refer to: https://github.com/tripviss/image-resizer/issues 😛 We are using Docker, so we don't really see the appeal of AWS Lambda which is more restrictive and less portable. Here is our Docker image: https://hub.docker.com/r/tripviss/image-resizer/ (repo at https://github.com/tripviss/docker-image-resizer). Feel free to use it, or modify from there. We also have a Docker Compose setup here: https://github.com/tripviss/tripviss-image-proxy which you can pick up and go with minimal modifications. |
Sweet ! :) |
I still think image-resizer's greatest asset is its use of VIPS (via sharp). We were introduced to VIPS by http://rsz.io which is really fast! And it comes with powerful filters! The only downside? It was problematic for HTTPS, due to the use of wildcard subdomains. * not sure to what extent |
@leesiongchan In hindsight we could have just used rsz.io with a HTTPS proxy... Or do we want to consider making the switch? 😆 |
Thanks for the details @teohhanhui ! Decided to use image-resizer ! 🎉 |
FWIW, AWS lambda is not an option for this for the moment. See https://clifff.com/2015/10/01/2015-failed-experiments-with-aws-lambda/ It's from last year but as far as I understand, the problem remains. It's not possible to output binary images from Lambda/API Gateway. |
@lasconic, I was talking about pre-generating (No on-the-fly resizing) the images using Aws Lambda, which is pretty easy considering you can get an event when an object is added in your bucket. (https://github.com/ysugimoto/aws-lambda-image) |
@teohhanhui Hey, first off, great work! :) I was wondering, how do you pass the environment settings to the docker container? Do you mount a volume or set environment variables directly in the run command with |
@vprasanth You can refer to our production setup at https://github.com/tripviss/tripviss-image-proxy 😄 |
But of course the "nginx-ssl" container need not be there. We're switching to https://github.com/jwilder/nginx-proxy + https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion |
Hey @teohhanhui,
Good job on this fork ! It looks like https://github.com/jimmynicol/image-resizer isn't maintained anymore..
I just wanted to get some feedback from you about this library, are you using it in production ?
Any issue known about using it ?
I'm still wondering if I should use on the fly resize with
image-resizer
or useAWS lambda
to automatically convert my images.Would appreciate some of your wisdom :)
Thanks
The text was updated successfully, but these errors were encountered: