# Hoe upgrade ik Discourse in een meervoudige containerconfiguratie?

**URL:** <https://meta.discourse.org/t/how-do-i-upgrade-discourse-in-a-multiple-container-configuration/166677>\
**Category:** Self-hosting\
**Created:** [8 oktober 2020 om 15:19 UTC](https://meta.discourse.org/t/how-do-i-upgrade-discourse-in-a-multiple-container-configuration/166677 "2020-10-08T15:19:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [8 oktober 2020 om 16:46 UTC](https://meta.discourse.org/t/how-do-i-upgrade-discourse-in-a-multiple-container-configuration/166677/2 "2020-10-08T16:46:25Z")

</div>

That’s about right. For true zero downtime upgrades, you need to bootstrap the new container with `SKIP_POST_DEPLOYMENT_MIGRATIONS: 1`, then launch, then, after the old containers are no longer running, run a `SKIP_POST_DEPLOYMENT_MIGRATIONS=0 rake db:migrate`. Otherwise, the bootstrap can (but does not for every upgrade) put the database in a state that the old container can’t use anymore.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-upgrade-discourse-in-a-multiple-container-configuration/166677)._
