companionstudio / instagram-token-agent

A service to keep your Instagram Basic Display API token fresh.
MIT License
133 stars 70 forks source link

Added docker #18

Open maxiR8 opened 4 years ago

maxiR8 commented 4 years ago

Couldn't get the app to work on heroku. The app is instantly suspended.

Dockerized your app, it seems to work ok, at least for my needs.

Don't know much about ruby, but as I understood the app depends on the Temporize service (is it heroku only?) so I had to grab the TEMPORIZE_URL and WEBHOOK_SECRET from the suspended heroku app's config vars. Probably some other better solution should be implemented for this in the future so that it is not dependant on the platform.

Also not using the memcachier.

Anyways here is a pull request with docker if you need it.

Cheers.

wadewilliams commented 4 years ago

+1 For running on docker, would prefer to not add heroku to our stack just to make instagram work.

benjamin-hull commented 4 years ago

Hey @maxiR8 - thanks for this. I've been busy on other projects and haven't had a chance to check in on this stuff.

I'm hesitant to merge this, as I have no Docker experience (it's on my list ... somewhere!), so I'm not confident in maintaining and supporting it. It's probably better suited to a separate fork for now.