# 단일 Droplet에 Discourse를 여러 개 설치하기

**URL:** https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889
**Category:** Support
**Created:** [10월 11, 2020, 12:55오후 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889 "2020-10-11T12:55:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pinder99](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pinder99](https://meta.discourse.org/u/pinder99)
#### Post date: [10월 11, 2020, 12:55오후 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/1 "2020-10-11T12:55:45Z")

</div>

지원팀에,

Digital Ocean의 CentOS 드롭렛에 공식 가이드를 따라 Discourse를 설치했고, 현재 정상적으로 작동하고 있습니다. 이제 두 번째 discourse2.yml 파일을 생성하여 새 포트, 새 도메인 및 SMTP 설정으로 구성했습니다. 이 또한 (앱 부트스트랩) 및 (앱 시작) 단계까지 완료했지만, 호스트 이름으로 접속할 수 없습니다.

ngnix는 포트 3200에 설치되어 있으며 (정상 작동)  
app.yml은 8080:85 http로 노출되어 있습니다 (정상 작동)  
discourse2.yml은 8081:80 http로 노출되어 있습니다 (호스트 이름으로 접속 불가)

discourse2.yml 파일에 추가된 호스트 이름으로 접속할 수 있도록 discourse2.yml을 어떻게 구성해야 하는지 도움을 주실 수 있나요?

docker 프로세스 목록:  
1213 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

2634 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 443 -container-ip 172.17.0.3 -container-port 443

2645 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 80 -container-ip 172.17.0.3 -container-port 80

7448 /usr/bin/docker-proxy -proto tcp -host-ip 127.0.0.1 -host-port 4000 -container-ip 172.17.0.2 -container-port 80

7459 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 2222 -container-ip 172.17.0.2 -container-port 443

nginx 설정 파일에 무엇을 추가해야 하는지, 그리고 nginx 설정 파일의 디렉터리가 어디인지 이해가 되지 않습니다.

---

<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: [10월 11, 2020, 2:15오후 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/2 "2020-10-11T14:15:28Z")

</div>

Discourse는 표준 포트가 아닌 포트에서는 작동하지 않습니다. 두 개의 Discourse 인스턴스에 대해 단일 외부 nginx 리버스 프록시를 구성해야 합니다. 이를 위한 가이드가 있습니다.

---

<div class="post-metadata">

### Author: ![pinder99](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pinder99](https://meta.discourse.org/u/pinder99)
#### Post date: [10월 11, 2020, 3:03오후 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/3 "2020-10-11T15:03:29Z")

</div>

어떻게 하는지 알려줄 수 있나요?

---

<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: [10월 11, 2020, 3:14오후 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/4 "2020-10-11T15:14:24Z")

</div>

예를 들어, [Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247) 를 참고할 수 있습니다. 외부 웹사이트가 또 다른 디스코urs 사이트가 됩니다.

---

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [10월 11, 2020, 3:19오후 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/5 "2020-10-11T15:19:53Z")

</div>

[Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084) 를 고려해 보셨나요?

여러 개의 Discourse를 운영할 계획이라면 좋은 선택지가 될 수 있습니다.

---

<div class="post-metadata">

### Author: ![pinder99](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pinder99](https://meta.discourse.org/u/pinder99)
#### Post date: [10월 20, 2020, 11:23오전 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/6 "2020-10-20T11:23:45Z")

</div>

@fzngagan 님, 답변해 주셔서 감사합니다. 하지만 제가 원하는 것을 이루기 위해서는 @riking 님의 [가이드](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247)가 더 적합하다고 생각하며, 실제로 잘 작동하고 있습니다.  
@pfaffman 님, 감사합니다.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [11월 19, 2020, 11:23오전 UTC](https://meta.discourse.org/t/multiple-discourse-installation-on-single-droplet/166889/7 "2020-11-19T11:23:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
