Docker PostgreSQL Replication and Failover without Docker Swarm or Kubernetes

Actually I have achieved the replication and Failover in bitnami/postgresql-repmgr:14 using the Swarm Environment.
Now Can I Achieve the same replication and Failover without Swarm/Kubernetes Concept ?
I have only Two PCs. Each pc runs this image bitnami/postgresql-repmgr:14 as a container . In this situation, I am not enabled the swarm/kubernetes Environment.
My Requirement is one PC Act as primary node and and another PC acts as Standby node.
How to I achieve the replication and Failover?
I mean not using the Any Orchestration tool

Postgres failover is more of a Postgres topic than a Docker topic, so you probably get better answers in a dedicated Postgres forum.

1 Like