The *.txt files here hold user and database parameters. Specifically, replication.txt
contains the user/role and password to use for replication. Whereas database.txt
contains an initial database, user/role and password to create on the master.
Run the master:
$ fig run -d master
Wait for it to start up completely. Start the slave:
$ fig run slave
Wa-la!
Another silly question: Why did you use
PASSWORD 'md5${REP_PASS_MD5}'
rather thanENCRYPTED PASSWORD '${REP_PASS}'