# discourse/discourse에서 Discourse 이미지 빌드: 플러그인 설치 방법

**URL:** <https://meta.discourse.org/t/building-discourse-image-from-discourse-discourse-how-to-install-plugins/394969>\
**Category:** Self-hosting\
**Tags:** docker, install, hosting\
**Created:** [2월 2, 2026, 6:10오후 UTC](https://meta.discourse.org/t/building-discourse-image-from-discourse-discourse-how-to-install-plugins/394969 "2026-02-02T18:10:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![stevejr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stevejr/32/292622_2.png) [@stevejr](https://meta.discourse.org/u/stevejr)\
**Post date:** [2월 2, 2026, 6:10오후 UTC](https://meta.discourse.org/t/building-discourse-image-from-discourse-discourse-how-to-install-plugins/394969/1 "2026-02-02T18:10:55Z")

</div>

안녕하세요,

Discourse Docker 이미지에서 UI를 통해 플러그인을 설치하는 대신 여러 플러그인을 미리 내장하여 빌드하는 방법에 대해 조언해 주실 분이 있을까요?

배경은 다음과 같습니다. 최신 Discourse 빌드, 즉 `discourse:stable`을 활용하고자 합니다. 설치 가이드와 다른 문서를 읽어본 결과, 이 이미지를 자체 Dockerfile의 기본 이미지로 사용하고, 다음과 같은 작업을 수행할 수 있다는 것을 알게 되었습니다:

```plaintext
RUN cd /var/www/discourse/plugins && \
      git clone https://github.com/discourse/discourse-chat-integration.git 

```

이렇게 하면 `discourse-chat-integration` 플러그인이 빌드에 추가됩니다. 그런 다음 런타임 시 필요한 환경 변수, 예를 들어 `DISCOURSE_HOSTNAME`, `DISCOURSE_SMTP_DOMAIN`, `DISCOURSE_DB_HOST` 등을 전달하면 되며, 이를 `app.yml` 파일에 하드코딩할 필요가 없습니다.

위 내용에 대해 조언해 주시면 감사하겠습니다.

감사합니다.

---

_[View the full topic](https://meta.discourse.org/t/building-discourse-image-from-discourse-discourse-how-to-install-plugins/394969)._
