PIGSTY

Pigsty Docs

Pigsty v3.5 Documentation

Postgres In Great STYle —— Postgres Infra Graphic Service Toolbox, Yours

Introduction

Pigsty (/ˈpɪɡ staɪ/) is a Battery-Included, FOSS PostgreSQL Distribution as a Local-First RDS Alternative.

Pigsty assembles all the superpowers from the PostgreSQL and Database world, provides everything you'll need to build your own Data Infra.

Just use Postgres for Everything! and Self-Hosting it like a Pro!


Installation

Single node installation: Prepare an ssh-accessible node with fresh installed Linux, run as user with nopass ssh and sudo privileges:

install
curl -fsSL https://repo.pigsty.io/get | bash;
cd ~/pigsty; ./bootstrap; ./configure; ./install.yml;

Download, Bootstrap, Configure and Install. Pigsty Installed! You can add more nodes and database clusters later.

Explore the User Interface, check port 5432 for Postgres Service, port 3000 for grafana dashboards (userpass: admin / pigsty).


Modules

Pigsty consists of multiple modules. The PINE stack: PGSQL / INFRA / NODE / ETCD are REQUIRED for self-hosting Postgres RDS service.

Pigsty also have some OPTIONAL "Bonus" modules, which works well with PostgreSQL, and brings extra value to your data infrastructure.


FAQ