Hi.
As the title suggests, my use case is to setup docker swarm to run 3 nodes of ERPNext instances, for the purposes of maintaining high availability of my ERPNext running in production. I’m also planning to use mariadb galera cluster to ensure that the databases are synced across all the nodes. So if 1 node fails, the ERPNext instance failovers to the secondary node.
My question is how do I have the erpnext’s site private/public files synced up across the 3 nodes? If a user uploads a file into one of the ERPNext’s node private folder, the other 2 ERPNext nodes will also show the same file in their private folder. I’m not sure how this can be done. Would GlusterFS be able to do this?
Reference: ERPNext High Availability Setup with Galera and Proxysql | by Perumadura De Silva | Medium