dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

How to host Dragonfly image server on Heroku

Open vikasr111 opened this issue 8 years ago • 4 comments

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.

vikasr111 avatar Nov 30 '16 15:11 vikasr111

I have something that may help: https://github.com/benpickles/dragonfly-s3-server

benpickles avatar Nov 30 '16 16:11 benpickles

@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?

msimonborg avatar Jan 13 '17 23:01 msimonborg

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.

benpickles avatar Jan 14 '17 12:01 benpickles

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)

ycrepeau avatar Feb 09 '17 19:02 ycrepeau