Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

sycured/nomad-pgsql-patroni

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nomad-pgsql-patroni

A simple container running Postgres and Patroni useful for dropping directly into a Hashicorp environment (Nomad + Consul + Vault)

It also comes pre-baked with some tools and extensions

Tools

Name Link Type of install
Patroni https://github.com/zalando/patroni Package
Pg_Timetable https://github.com/cybertec-postgresql/pg_timetable Package
WAL-G https://github.com/wal-g/wal-g Binary

Extensions

Name Link Type of install
citus https://github.com/citusdata/citus Package
hyperloglog https://github.com/citusdata/postgresql-hll Package
hypopg https://github.com/HypoPG/hypopg Package
pg_cron https://github.com/citusdata/pg_cron Package
pg_qualstats https://github.com/powa-team/pg_qualstats Package
pg_stat_kcache https://github.com/powa-team/pg_stat_kcache Package
pgrouting https://pgrouting.org Package
pgsodium https://github.com/michelp/pgsodium Build
postgis https://postgis.net Package
postgres-json-schema https://github.com/gavinwahl/postgres-json-schema Build
powa https://github.com/powa-team/powa Package
tdigest https://github.com/tvondra/tdigest Package
topn https://github.com/citusdata/postgresql-topn Package
vector https://github.com/ankane/pgvector Build

Enable hypopg

CREATE EXTENSION hypopg;

Enable powa

CREATE EXTENSION pg_stat_statements;
CREATE EXTENSION btree_gist;
CREATE EXTENSION powa;
CREATE EXTENSION pg_qualstats;
CREATE EXTENSION pg_stat_kcache;

About

Simple container for running Postgres HA on Nomad

Resources

License

Stars

Watchers

Forks

Languages

  • Shell 56.1%
  • Dockerfile 26.4%
  • HCL 17.5%