dragonfly
dragonfly copied to clipboard
How to host Dragonfly image server on Heroku
We are trying to host Dragonfly on Heroku. We are using Dragonfly in some apps for the purpose of image resizing and caching. I could not find any helpful resource or example on hosting Dragonfly on Heroku. Any help will be appreciated.
I have something that may help: https://github.com/benpickles/dragonfly-s3-server
@benpickles I'm having an issue in prod on heroku where the public/system/dragonfly directory is not being created or storing files, so I get a not found when I follow an image url. Does your app address this?
Heroku doesn't allow file storage so you'll need to use something like Amazon S3 and configure Dragonfly to use it - that's what my app does.
I currently have a project that uses Ruby on Rails, RefineryCMS, Heroku and Amazon S3 as backend storage for images. I also use dragonfly-s3_data_store. Everything was fine until...
I want to get rid of S3. I have discovered some interesting and FREE alternatives with corresponding dragonfly-XXXX_data_store gems. RefineryCMS claims it support custom backend in lieu of S3 but I have not seen documentation/example/step-by-step on how to implement this.
Any clue?
Xxxx = Coudinary and IBM Bluemix (Openstack)