romainbutteaud / Kaffeine

Keeping free Heroku apps awake.
kaffeine.herokuapp.com
1.05k stars 112 forks source link

Update Docker Compose setup #49

Open jasmaa opened 3 years ago

jasmaa commented 3 years ago

This updates the Docker Compose setup to work with more recent changes to the project. It also updates the mimemagic version due to mimemagic 0.3.3 being yanked.

romainbutteaud commented 3 years ago

Thanks for doing this @jasmaa! Quick question: DATABASE_URL: postgresql://postgres:postgres@postgres/postgres will this work on Heroku?

jasmaa commented 3 years ago

That DATABASE_URL will only work with the postgres container provisioned in docker-compose.yml. If you're using Heroku Postgres, you should just be able to swap it out with the DATABASE_URL in your config vars if you want to test the Docker deployment with your production database.