Thursday, January 30, 2020

What's a recommended/common approach to staging and production apps in Heroku, using Docker containers?

Hi there, 


I'm trying to set up staging and production apps in Heroku. Nothing fancy, just a way to test the app is running okay on Heroku's platform before it gets pushed to production.


The project is containerised in Docker.


I've tried setting up a pipeline in Heroku, but when I click "promote to production" on the staging app, Heroku displays an error saying that action is not supported for docker containers.


If that's true (and Docker is still popular), what is a recommended workflow for this?


The only workaround I can think of is to simply have two apps running in Heroku (project-name-staging and project-name-production) and just push the codebase to one and then the other manually from my local machine. But surely there's a better way.


Thanks very much in advance for your help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f840735e-2833-4f8e-bb94-ebc3beb90b4e%40googlegroups.com.

No comments:

Post a Comment