sm-a
8 مارس 2019، 11:22م
1
يُعد Discourse برمجية ممتازة وأنا متحمس للغاية لاستخدامها. لكنني أواجه مشكلة في التثبيت. أرغب في استخدام Jelastic مع صورة Docker. ومع ذلك، عند تحميل صورة Docker لـ Jelastic، أرى فقط الصفحة الافتراضية من خادم الويب وليس Discourse.
ما الخطأ الذي أقوم به؟ وماذا يجب أن أفعل؟
آمل أن يتمكن أحدكم من المساعدة.
شكرًا،
سفين
Falco
(Falco)
8 مارس 2019، 11:34م
2
Hello @sm-a ,
Discourse won’t be compatible with a PaaS/CaaS out of the box.
I recommend going with a good old VPS, which you can get from Digital Ocean, Vultr, etc for $5.
pfaffman
(Jay Pfaffman)
9 مارس 2019، 12:39ص
3
Welcome, @sm-a . You really need to follow discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub . The docker image needs considerable configuration to create a usable instance.
Oleksandr_Patuk
(Oleksandr Patuk (Jelastic support team))
11 مارس 2019، 11:25ص
4
Hello, @sm-a ! To install Discourse on Jelastic, please follow these steps:
1) Create a new environment using the following parameters (Setting Up Environment | Virtuozzo Dev Docs ):
- New environment – Docker – Search — Docker hub – “discourse/base”
- Vertical scaling per node:
- reserved – 25 cloudlets
- scaling limit – 30 cloudlets
- Disc limit- 20 Gb
- Add public IP (IPv4 or IPv6)
2) Start the created environment and execute the following commands in the container console (via SSH Web - (Virtuozzo Application Platform - PaaS for DevOps hosting | Virtuozzo )):
service nginx stop
update-rc.d -f nginx disable
wget -qO- https://get.docker.com/ | sh
service docker start
mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
./discourse-setup
3) Run the installation of Discourse with the such parameters (set in the console during the installation process):
Hostname for your Discourse? [discourse.example.com]:
Email address for admin account(s)? [me@example.com,you@example.com]:
SMTP server address? [smtp.example.com]:
SMTP port? [587]:
SMTP user name? [user@example.com]:
SMTP password? [pa$$word]:
Let's Encrypt account email? (ENTER to skip) [me@example.com]:
4) Optionally, perform fine tuning of the environment - trace the number of used cloudlets and set up with a small encrease as “Reserved cloudlets”.
5) Read the recommendations of the developer Discourse - _discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub (please remove underline on begin of link (added because account limitation))
If you have any additional questions don’t hesitate to ask your hosting provider or contacting us directly via form - _Virtuozzo Application Platform - PaaS for DevOps hosting | Virtuozzo (please remove underline on begin of link (added because account limitation))).