هل يدعم Discourse تشغيل عدة آلات (كل منها يحتوي على حاوية Docker واحدة) خلف موزع أحمال مستقل؟
أحتاج إلى إعداد Discourse يتحمل فشل أحد الخوادم، لذا فإن ردي القياسي هو تكوين 3 خوادم خلف موزع أحمال (حيث يتولى موزع الأحمال إدارة شهادة SSL).
لقد قمت بتكوين خوادم PostgreSQL و Redis خارجية مستقلة لـ Discourse. (يتم ذلك كله على منصة Google Cloud). أستخدم أداة تشغيل Discourse لتكوين حاوية Docker مخصصة للويب فقط.
هل يدعم Discourse تشغيل حاويات متعددة عندما تكون كل حاوية على آلة مختلفة؟
هل يجب أن أنسخ حاوية Docker المنشأة من الآلة الأولى إلى الآلات الأخرى؟
كيف يتم التعامل مع الشعارات المرفوعة؟
هل تُخزن الشعارات المرفوعة وأيقونات المفضلة (favicons) وما شابه ذلك في قاعدة البيانات؟
Okay. So I have now have a working discourse on a single machine. I have two other machines. The docker guest /shared volume is pointed to an NFS directory to allow all machines to access the uploads (esp. logos, etc).
I have copied the docker images to the machines 2 and 3 (docker save -o app-image local_discourse/app and then docker load -i app-image.
I was under the impression that a simple ./launcher start app would work, but it attempts to check containers/app.yml.
Will I run into problems if I allow the app.yml to be checked (and changes made) to the DB from machine 2 and 3?
Is there a better way to have three machines running a single setup?