Thumbor for Heroku

by Br3nda


An unofficial Heroku-ready Thumbor install with WebP support.


Just press this button:


Or, follow these steps:

  1. Clone repo
  2. heroku create
  3. heroku config:set BUILDPACK_URL=
  4. heroku config:set THUMBOR_SECURITY_KEY=123456 (you should probably choose a better key)
  5. git push heroku master (the first deploy will take about 10 minutes)
  6. Done!

Run in localhost (Docker compose)


$ cp .env.dist .env

Edit your .env file changing environment variables. Now run:

$ docker-compose build
$ docker-compose up

Now you can open in your localhost: http://localhost:8000/unsafe/300x200/


OpenCV isn't included in this installation because of Heroku's compiled slug size limits, so Thumbor's smart cropping isn't supported at this time.