How to create container link in nomad

Hi all, i;m new to nomad, I’m creating Postgres master-slave replication cluster, so i need to link master to slave container,
please let me know if any example is available.