{"repo":"batonogov/patroni-docker","free":true,"listed":false,"github":"https://github.com/batonogov/patroni-docker","clone":"git clone https://github.com/batonogov/patroni-docker.git","description":"PostgreSQL HA Cluster with Patroni inside Docker","language":"Dockerfile","stars":22,"topics":["docker","patroni","postgresql","etcd","haproxy","postgres"],"license":"MIT","category":"databases-storage","readme_excerpt":"Patroni-Docker Overview Patroni-Docker is a project aimed at simplifying the deployment and management of a PostgreSQL high-availability cluster using Patroni within Docker containers. Patroni is a template for PostgreSQL HA using Python and ZooKeeper, etcd, or Consul for the coordination and consensus. Prerequisites: - Docker installed on your system. - Basic understanding of Docker and PostgreSQL concepts. Examples Ansible For our example, we will take three nodes and run etcd + patroni clusters on them. We will also configure haproxy running on other nodes for load balancing . I deployed with ansilbe . Ansible example here Docker Compose Docker Compose example here","default_branch":null,"files":null,"tree":[],"storefront":"/r/batonogov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/batonogov/patroni-docker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}