# Problem with rebuilding Discourse on self hosted

**URL:** https://meta.discourse.org/t/problem-with-rebuilding-discourse-on-self-hosted/406711
**Category:** Self-hosting
**Created:** [July 2, 2026, 10:00pm UTC](https://meta.discourse.org/t/problem-with-rebuilding-discourse-on-self-hosted/406711 "2026-07-02T22:00:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lew\_Grothe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lew_grothe/32/337776_2.png) [@Lew\_Grothe](https://meta.discourse.org/u/Lew_Grothe)
#### Post date: [July 2, 2026, 10:00pm UTC](https://meta.discourse.org/t/problem-with-rebuilding-discourse-on-self-hosted/406711/1 "2026-07-02T22:00:10Z")

</div>

latest build with self hosted discourse picks up local hostname instead of HOSTNAME in app.yml - why?

---

<div class="post-metadata">

### Author: ![Lew\_Grothe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lew_grothe/32/337776_2.png) [@Lew\_Grothe](https://meta.discourse.org/u/Lew_Grothe)
#### Post date: [July 2, 2026, 10:02pm UTC](https://meta.discourse.org/t/problem-with-rebuilding-discourse-on-self-hosted/406711/2 "2026-07-02T22:02:44Z")

</div>

how can I roll back to an old container after a failed build?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [July 3, 2026, 5:49am UTC](https://meta.discourse.org/t/problem-with-rebuilding-discourse-on-self-hosted/406711/3 "2026-07-03T05:49:59Z")

</div>

`./launcher restart app`
