Try describing what you need:

pgdog logo

pgdog

★ 5.6k
GNU Affero General Public License v3.0Open Core — Some Features Paid4 Containers — 4 containers — moderate hosting footprintCompose · K8s · HelmNeeds Postgres31+ active committers (12mo)

About

PgDog is an open source PostgreSQL proxy aimed at teams that need to scale database traffic without changing application behavior. It sits between clients and PostgreSQL servers to pool connections,...

Community Ratings

No ratings yet

Features

  • connection pooling
  • transaction pooling
  • load balancing
  • query routing
  • sharding
  • health checks
  • failover
  • single endpoint for reads and writes
  • password-based authentication
  • AWS RDS IAM authentication

Details

Last Updated
Oct 23, 2026
Created
Dec 27, 2024
Install Methods
docker-composekuberneteshelm
Requirements
Docker ComposePostgreSQLHashiCorp VaultAWS RDSAzure Workload Identity
Authentication
local
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Deployment

Deployment: Docker Compose ✓4 Containers — moderate hosting footprintRuns as 4 containers

Run pgdog with Docker Compose

Compose file from the pgdog project repository.

4 services · database: postgres · infra: postgres

no resource limits declared

needs persistent storage (5 volumes)

docker-compose.yml · @ c2fb278 · scanned Sep 24, 2026

services:
  pgdog:
    image: ghcr.io/pgdogdev/pgdog:main
    volumes:
      - ./docker/pgdog.toml:/pgdog/pgdog.toml
      - ./docker/users.toml:/pgdog/users.toml
    ports:
      - 6432:6432
    networks:
      - postgres
    environment:
      RUST_LOG: debug
  shard_0:
    image: postgres:18
    environment:
      POSTGRES_PASSWORD: postgres
    volumes:
      - ./docker/setup.sql:/docker-entrypoint-initdb.d/setup.sql
    networks:
      - postgres
  shard_1:
    image: postgres:18
    environment:
      POSTGRES_PASSWORD: postgres
    networks:
      - postgres
    volumes:
      - ./docker/setup.sql:/docker-entrypoint-initdb.d/setup.sql
  shard_2:
    image: postgres:18
    environment:
      POSTGRES_PASSWORD: postgres
    networks:
      - postgres
    volumes:
      - ./docker/setup.sql:/docker-entrypoint-initdb.d/setup.sql

networks:
  postgres:

This file may be out of date. Check the pgdog documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Sep 9, 2026

Related Software

Traefik logo

Traefik

65.3k
Traefik is a modern HTTP reverse proxy and load balancer for deploying microservices.
Web ServersPermissive LicenseProxy Servers+2
2 Containers
Details
CapRover logo

CapRover

15.2k
CapRover is a deployment platform and webserver manager for NodeJS, Python, PHP, ASP.NET, Ruby, and common databases.
Platform as a ServiceSelf Hosting SolutionsWeb Servers+4
Not FOSS
Details
Nginx Proxy Manager logo

Nginx Proxy Manager

34.5k
A Docker-based Nginx reverse proxy manager with a web admin interface for forwarding hosts and managing SSL certificates.
Web ServersPermissive LicenseProxy Servers+3
Details
Warpgate logo

Warpgate

8.1k
A transparent bastion host for SSH, HTTPS, Kubernetes, MySQL, and PostgreSQL that records sessions and provides a built-in web admin UI.
Remote AccessProxy ServersAuthentication Services+2
Details
SearXNG logo

SearXNG

38.7k
SearXNG is a metasearch engine that lets users search the web without being tracked or profiled.
Search EnginesCopyleft LicenseSelf Hosting Solutions+1
Details
blocky logo

blocky

7.1k
Blocky is a DNS proxy and ad-blocker for local networks, built in Go.
DNS ServersPermissive LicenseProxy Servers+2
Fully FOSS
Details
Zoraxy logo

Zoraxy

5.5k
Zoraxy is a general-purpose HTTP reverse proxy and forwarding tool with a web management interface.
Web ServersCopyleft LicenseProxy Servers+3
Details
Redlib logo

Redlib

3.9k
Redlib is a private, self-hostable front-end for browsing Reddit without ads, tracking, or JavaScript.
Social NetworksCopyleft LicenseSelf Hosting Solutions+1
Details
authentik logo

authentik

26.1k
authentik is an open-source identity provider for modern SSO that supports SAML, OAuth2/OIDC, LDAP, RADIUS, and related identity management use cases.
Authentication ServicesPermissive LicenseProxy Servers+1
3 ContainersOpen Core
Details
sish logo

sish

4.8k
Open source SSH tunneling software for forwarding HTTP(S), WS(S), TCP, aliases, and SNI traffic using plain SSH.
Proxy ServersNetwork UtilitiesRemote Access+2
Details
SWAG (Secure Web Application Gateway) logo

SWAG (Secure Web Application Gateway)

3.7k
SWAG is a LinuxServer.io container that provides an Nginx reverse proxy with PHP support, automated SSL certificate generation/renewal, and fail2ban-based intrusion prevention.
Web ServersProxy ServersSelf Hosting Solutions+4
Details
rathole logo

rathole

14.4k
A secure, high-performance reverse proxy for NAT traversal that forwards services behind a NAT to the Internet.
Proxy ServersNetwork UtilitiesRemote Access+1
Details