I’m starting out with Rancher, and have set up two containers with Dokuwiki. I have load balancer(s) in front of them. The containers have data volume sidekicks (Wiki content stored as flat files. No database is involved).
I’d like for the wiki content to be the same on both containers, and I am looking for suggestions. I’m thinking of shared storage using NFS, or doing replication of the content. In the latter case, I would probably want to have the load balancer prefer the one instance over the other, in stead of the default round robin set up of Rancher load balancers.