{"id":26468747,"url":"https://github.com/batonogov/patroni-docker","last_synced_at":"2025-03-19T16:33:26.206Z","repository":{"id":222492672,"uuid":"757441823","full_name":"batonogov/patroni-docker","owner":"batonogov","description":"PostgreSQL HA Cluster with Patroni inside Docker","archived":false,"fork":false,"pushed_at":"2025-02-21T07:49:23.000Z","size":906,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T08:19:49.929Z","etag":null,"topics":["docker","etcd","haproxy","patroni","postgres","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/batonogov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-14T14:01:30.000Z","updated_at":"2025-02-21T07:49:21.000Z","dependencies_parsed_at":"2024-02-14T15:20:52.562Z","dependency_job_id":"559d81ae-0d4a-4a39-a696-537f0fc33fbe","html_url":"https://github.com/batonogov/patroni-docker","commit_stats":null,"previous_names":["batonogov/patroni-docker"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batonogov%2Fpatroni-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batonogov%2Fpatroni-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batonogov%2Fpatroni-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batonogov%2Fpatroni-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/batonogov","download_url":"https://codeload.github.com/batonogov/patroni-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244464198,"owners_count":20457015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","etcd","haproxy","patroni","postgres","postgresql"],"created_at":"2025-03-19T16:33:25.664Z","updated_at":"2025-03-19T16:33:26.196Z","avatar_url":"https://github.com/batonogov.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Patroni-Docker\n\n## Overview\n\n**Patroni-Docker** is a project aimed at simplifying the deployment and management of a **PostgreSQL high-availability cluster** using **Patroni** within **Docker** containers.\n**Patroni** is a template for **PostgreSQL HA** using Python and ZooKeeper, etcd, or Consul for the coordination and consensus.\n\nPrerequisites:\n\n- **Docker** installed on your system.\n- Basic understanding of **Docker** and **PostgreSQL** concepts.\n\n## Examples\n\n### Ansible\n\nFor our example, we will take `three nodes` and run `etcd` + `patroni` clusters on them.\nWe will also configure `haproxy` running on other nodes for `load balancing`.\nI deployed with `ansilbe`.\n\n[Ansible example here](./examples/ansible)\n\n### Docker Compose\n\n[Docker Compose example here](./examples/docker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatonogov%2Fpatroni-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatonogov%2Fpatroni-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatonogov%2Fpatroni-docker/lists"}