# 多站点重建停止运行

**URL:** https://meta.discourse.org/t/multi-site-rebuild-goes-offline/330463
**Category:** Support
**Created:** [2024年十月11日 16:57 UTC](https://meta.discourse.org/t/multi-site-rebuild-goes-offline/330463 "2024-10-11T16:57:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jonathan\_moura\_getit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan_moura_getit/32/436940_2.png) [@jonathan\_moura\_getit](https://meta.discourse.org/u/jonathan_moura_getit)
#### Post date: [2024年十月11日 16:57 UTC](https://meta.discourse.org/t/multi-site-rebuild-goes-offline/330463/1 "2024-10-11T16:57:33Z")

</div>

您好，

我计划管理一个大型社区，并且需要在我更新时保持网站在线，以避免让用户感到沮丧。

每次我们在 `app.yml` 中添加新的多站点配置域时，都必须运行 `./launcher rebuild app`，这大约需要 25-30 分钟。在此期间，Discourse 论坛将离线。

是否有办法在不使网站离线的情况下进行更新？

我看到过关于设置“离线”页面的建议，但每周几次出现“我们将在 40 分钟后恢复”这样的消息并不是一个可行的解决方案。

致以最诚挚的问候，  
乔纳森

---

<div class="post-metadata">

### Author: ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)
#### Post date: [2024年十月11日 20:17 UTC](https://meta.discourse.org/t/multi-site-rebuild-goes-offline/330463/2 "2024-10-11T20:17:23Z")

</div>

这不是一个优雅的解决方案，但你可以将实例拆分成多个容器。

如果你需要每周添加多个域名并设置多个新的 Discourse 站点，这是一个非常具体的使用场景，我相信你需要自定义脚本来替换原始的启动器。
