Aniket
(Aniket Ubale)
10월 22, 2024, 7:22오전
1
안녕하세요,
https://github.com/discourse/discourse_docker를 samples 디렉터리에 클론했습니다. standalone.yml과 web_only.yml 파일을 볼 수 있습니다. web_only.yml 파일을 사용하여 설치하는 방법에 대해 안내해 주실 수 있을까요?
감사합니다.
Moin
10월 22, 2024, 7:42오전
2
two-container 구성에 대한 정보가 이 주제 에 있습니다:
5minpause:
이것은 고급 구성입니다. 리눅스 서버 관리와 Docker에 경험이 없는 한 이 내용을 따르지 마세요.
새 사이트용 2컨테이너 구성
참고: 2컨테이너 사이트를 생성하려면 다음을 사용할 수 있습니다:
./discourse-setup --two-container
일반 설치와 동일하게 작동하지만, data 컨테이너와 web_only 컨테이너를 별도로 생성합니다.
일반 설치 가이드는 여기 있습니다:
# Install Discourse on a Cloud Server
> To install and self-host Discourse, follow the steps below. But if you'd rather skip the setup, maintenance, and server management, our official Discourse hosting plans (Free, Pro, Business or Enterprise) take care of everything for you.
>
> [Learn more about Discourse hosting](https://discourse.org/pricing)
> If you prefer to self-host but need help setting it up we have partners who can help.
> [Click here to explore self-hosting set-up options](https://discourse.org/partners).
**Set up Discourse in about 10 minutes** with zero knowledge of Rails or Linux shell. Works on any Docker-compatible cloud provider or local server.
## Contents
- [Quick Start](#quick-start)
- [Requirements](#requirements)
- [Installation](#installation)
- [The Setup Wizard](#the-setup-wizard)
- [After Installation](#after-installation)
- [Advanced Configuration](#advanced-configuration)
- [Troubleshooting](#troubleshooting)
This file has been truncated. show original
pfaffman
(Jay Pfaffman)
10월 22, 2024, 11:07오전
3
–two-container 스위치를 사용하여 discourse-setup을 실행할 수 있습니다.
pfaffman
(Jay Pfaffman)
10월 22, 2024, 11:15오전
5
app.yml 파일이 없는 상태에서 실행해야 합니다.
실행해 보면 어떻게 될까요?
Aniket
(Aniket Ubale)
10월 22, 2024, 12:10오후
6
이제 잘 작동합니다. 감사합니다. 다만 한 가지 문제가 있습니다. 이전에 독립형 설정으로 app.yml 파일을 사용했는데, 이번에는 web_only.yml을 사용해 RDS 데이터베이스와 Redis URL을 구성했습니다. web_only 설정은 잘 작동하지만, 이전 설정에서 정의했던 이미지와 로고를 불러올 수 없습니다.
pfaffman
(Jay Pfaffman)
10월 22, 2024, 8:55오후
7
아마도 해당 파일들을 web_only로 이동하거나, yml 파일에서 바인드 경로를 변경해야 할 것 같습니다.
Aniket
(Aniket Ubale)
10월 23, 2024, 5:15오전
8
업로드에 로컬 스토리지를 사용하는 대신, web_only 컨테이너에서 S3 버킷을 구성하는 방법입니다