Can database container do replication use Rancher?

A simple way is make a database service and choose a container such as busybox to save data.

If want to do database replication like between two instances for PostgreSQL, is there a good way in container, in Rancher?