T
T
TAnonim2019-12-23 19:54:51
Heroku
TAnonim, 2019-12-23 19:54:51

How to do local development on Docker+Heroku?

Greetings. The Heroku documentation says that there are 2 ways to use Docker - deploy built containers (long and inconvenient due to the weight of containers), or use heroku.yml as a replacement for docker-compose. The second option looks much more convenient and practical, because there will be no need to overtake hundreds of megabytes of containers, but only one heroku.yml file. But the question arose, how to develop locally when using heroku.yml? After all, I need to try to run these containers locally, test the application before release. So I couldn't find any information anywhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Georg Gaal, 2020-02-02
@gecube

I would recommend looking at the dokku project in general. This is essentially an attempt to make a heroku-like environment locally, using the docker daemon on the developer's machine. I am sure that the developers of this wonderful project have thought about the possibility of deploying the code to heroku as well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question