I'm looking to migrate servers and was reading this in regards to fetching WAL data: https://gist.github.com/ruckus/2293434
What are your thoughts about passing in a master/slave environment variable which when bringing up containers?
Combined with docker-compose and swarm, the first node would be set to master and additional nodes would come up as slaves and automatically fetch-backup.