Aniket
(Aniket Ubale)
22 أكتوبر 2024، 7:22ص
1
مرحباً،
لقد قمت باستنساخ GitHub - discourse/discourse_docker: A Docker image for Discourse داخل مجلد samples، وأنا قادر على رؤية ملفي standalone.yml و web_only.yml، لذا هل يمكنك إرشادي لملف web_only.yml حول كيفية التثبيت.
شكراً.
Moin
22 أكتوبر 2024، 7:42ص
2
هناك بعض المعلومات حول إعداد two-container في هذا الموضوع :
5minpause:
This is an advanced setup. Don’t follow this unless you are experienced with Linux server administration and Docker.
2 Container Setup for a New Site
NOTE: If you want to create a 2 container site you can do this:
./discourse-setup --two-container
It works just like normal except it’ll create separate data and web_only containers
دليل التثبيت العام هنا:
# 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 takes 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 the cloud in under 30 minutes** with zero knowledge of Rails or Linux shell. One example
is [DigitalOcean][do], but these steps will work on any **Docker-compatible** cloud provider or local server. This
walkthrough will go through these in detail:
**[Before you start](#before-you-start)**
1. [Preparing your domain name](#1-preparing-your-domain-name)
2. [Setting up email](#2-setting-up-email)
**[Installation](#installation)**
This file has been truncated. show original
pfaffman
(Jay Pfaffman)
22 أكتوبر 2024، 11:07ص
3
يمكنك تشغيل discourse-setup باستخدام المفتاح --two-container.
Aniket
(Aniket Ubale)
22 أكتوبر 2024، 11:09ص
4
لقد حاولت ولكن لم ينجح الأمر.
pfaffman
(Jay Pfaffman)
22 أكتوبر 2024، 11:15ص
5
يجب عليك تشغيله عندما لا يوجد ملف app.yml.
ماذا يحدث عند المحاولة؟
Aniket
(Aniket Ubale)
22 أكتوبر 2024، 12:10م
6
الآن يعمل بشكل جيد شكرًا لك.. ولكن هناك مشكلة واحدة لدي، في السابق كنت أستخدم ملف app.yml والذي كان إعدادًا مستقلاً، والآن حاولت استخدام web_only.yml حيث قمت بتكوين قاعدة بيانات RDS وعنوان URL الخاص بـ Redis.\nالآن الإعداد web_only يعمل ولكن لا يمكن تحميل الصور والشعارات التي حددتها في إعدادي السابق.
pfaffman
(Jay Pfaffman)
22 أكتوبر 2024، 8:55م
7
ربما تحتاج إما إلى نقلها إلى web_only أو تغيير مسار الربط في ملف yml.
Aniket
(Aniket Ubale)
23 أكتوبر 2024، 5:15ص
8
بدلاً من استخدام التخزين المحلي للملفات التي تم تحميلها، كيف يمكننا تكوين حاوية S3 Bucket مع حاوية web_only؟