# 보조/대기용 Discourse를 배포하는 방법?

**URL:** https://meta.discourse.org/t/how-to-deploy-secondary-stand-by-discourse/274896
**Category:** Self-hosting
**Created:** [8월 12, 2023, 12:23오후 UTC](https://meta.discourse.org/t/how-to-deploy-secondary-stand-by-discourse/274896 "2023-08-12T12:23:54Z")
**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월 12, 2023, 12:34오후 UTC](https://meta.discourse.org/t/how-to-deploy-secondary-stand-by-discourse/274896/2 "2023-08-12T12:34:47Z")

</div>

HA를 원하신다면 Postgres를 복제하도록 설정하고, Redis도 마찬가지로 설정할 수 있습니다. 다만 Redis는 새로 시작하는 것이 큰 문제가 되지 않으므로 굳이 복제하지 않아도 됩니다.

Postgres 복제 설정에 대한 가이드는 다른 곳에서 찾아보실 수 있습니다. 아니면 RDS를 통해 자동으로 처리하도록 할 수도 있습니다.

이후 web\_only 컨테이너를 두 개 구성해야 합니다. ([스탠드얼론 컨테이너에서 웹 및 데이터 컨테이너로 분리하기](https://meta.discourse.org/t/move-from-standalone-container-to-separate-web-and-data-containers/29413))

그리고 전환을 처리하기 위해 haproxy 또는 유사한 도구가 필요합니다.

Discourse 관련 부분이 아닌 한, 여기서 도움을 받을 수 있는 범위를 벗어난 문제입니다.

---

_[View the full topic](https://meta.discourse.org/t/how-to-deploy-secondary-stand-by-discourse/274896)._
