# Improving pain points on bootstrap and rebuild

**URL:** <https://meta.discourse.org/t/improving-pain-points-on-bootstrap-and-rebuild/63674>\
**Category:** Development\
**Created:** [2017 年5 月 31 日 16:53 UTC](https://meta.discourse.org/t/improving-pain-points-on-bootstrap-and-rebuild/63674 "2017-05-31T16:53:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2017 年5 月 31 日 16:53 UTC](https://meta.discourse.org/t/improving-pain-points-on-bootstrap-and-rebuild/63674/1 "2017-05-31T16:53:32Z")

</div>

Continuing the discussion from [Can Discourse ship frequent Docker images that do not need to be bootstrapped?](https://meta.discourse.org/t/can-discourse-ship-frequent-docker-images-that-do-not-need-to-be-bootstrapped/33205/114):

> [@Can Discourse ship frequent Docker images that do not need to be bootstrapped?](https://meta.discourse.org/t/can-discourse-ship-frequent-docker-images-that-do-not-need-to-be-bootstrapped/33205/114):
>
> Pain points I am interested in solving long term are
> 
> - Faster bootstrap
> - Easier and more frequent base image updates
> - More consistent update process from web upgrader vs a full rebuild
> - Probably move default setup to 2 containers vs 1 container

Well, it took me two years, but I finally bothered to learn how to create a separate data container and rebuild/upgrade the site with a minute rather than a quarter hour of downtime. Just yesterday I started thinking about creating a `./discourse-setup` that would create two containers (based on `data.yml` and `web_only.yml`) rather than one.

I hadn’t started looking at launcher’s exit codes to see if I could safely script

```bash
./launcher bootstrap web
./launcher destroy web
./launcher start web

```

to avoid destroying the container if the new one didn’t get created.

Since the site isn’t down during a rebuild, reducing the build time is less critical.

---

_[View the full topic](https://meta.discourse.org/t/improving-pain-points-on-bootstrap-and-rebuild/63674)._
