# paunin/PostDock

PostDock - Postgres & Docker - Postgres streaming replication cluster for any docker environment

Repository: https://github.com/paunin/PostDock
Canonical: https://ross.abutalabs.com/products/postdock
Language: Dockerfile
License: MIT
License Family: permissive
Topics: postgresql, docker, pgpool, kubernetes, failover, postgres-docker-cluster, cluster
Last push: 2020-11-02T17:33:28+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3761, "days_push": 2130, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1126, forks 332 (observed 2026-08-28T04:03:41.258542+00:00)

## What it is
PostDock provides Dockerfiles and orchestration examples for running a highly available PostgreSQL streaming replication cluster with Pgpool load balancing and Barman backups. It supports Docker Compose, Docker Swarm, Kubernetes, and cloud environments with self-healing and automated failover.

## Use cases
- set up a highly available postgres cluster in docker
- postgres streaming replication with automatic failover
- run postgresql on kubernetes with self healing
- load balance postgres reads with pgpool
- configure postgres backups and point-in-time recovery with barman
- avoid split brain in a replicated postgres cluster

## When to choose
- you need a self-contained, dockerized Postgres HA cluster with replication, pooling, and backups in one project
- you want examples for Docker Compose, Swarm, and Kubernetes deployment
- you need monitoring exporters for all cluster components

## When to avoid
- you use a managed Postgres service with built-in HA
- you need actively maintained tooling - the latest release is from 2020
- you prefer modern operators like CloudNativePG or Patroni-based stacks

## Facets
- artifact type: infra-config
- maturity: maintenance
- function: database, deployment, monitoring, backup, container-orchestration
- domain: databases, self-hosted, microservices
- platform: self-hosted, cloud
- tags: postgresql, streaming-replication, pgpool, barman, high-availability, failover, docker-compose, docker-swarm, devops, containers, docker, kubernetes

## Member repositories
- paunin/PostDock (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.258542+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:39:13.171463+00:00, confidence not recorded.
  - readme: https://github.com/paunin/PostDock (fetched 2026-08-28T04:03:41.258542+00:00, sha de6a6955302f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
