Discourse supporta più macchine (ciascuna con un singolo container Docker) dietro un load balancer autonomo?
Ho bisogno di una configurazione di Discourse che gestisca il guasto di un server, quindi la mia risposta standard è configurare 3 server dietro un load balancer (con il LB che gestisce il certificato SSL).
Ho configurato server PostgreSQL e Redis esterni autonomi per Discourse. (Tutto questo è su Google Cloud Platform). Sto utilizzando il launcher di Discourse per configurare il container Docker dedicato solo al web.
Discourse supporta l’esecuzione di più container quando ogni container si trova su una macchina diversa?
Dovrei semplicemente copiare il container Docker creato dalla prima macchina sulle altre macchine?
Come vengono gestiti i loghi caricati?
I loghi caricati, i favicon, ecc. sono archiviati nel database?
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?