Hello - While setting up the Conjur follower, using the below steps, the follower container does not publish the PostgreSQL port 5432 for replication. Although the followers replicate asynchronously, we would still need to publish port 5432 for replication, isn’t it ? I am curious why this port was not published unlike a asynchronous standby container ?
Docker by default allows outbound traffic without the need to port-forward. The Follower doesn’t allow inbound connections on this port and thus it is not port-forwarded.
Thanks Samir. Appreciate the response -How does this differ from an ‘asynchronous standby’ that publishes port 5432 for replicating the PSQL database, except the fact the clients query the Followers ?
Is that because the async standy might have to be promoted to a leader at later level when both leader and primary standby fails ?
Standbys expose port 5432 for replication to followers after the standby is promoted, not for replicating from the primary. When container ports are exposed via docker ... --publish it is implied that they are open for inbound connections.