BETASDKs MIT, CLI and services Apache 2.0, schema engine BSL 1.1. Cloud is a closed beta: create an account to request access.
SUPATYPE/POSTGRES

Postgres, hardened.

PostgreSQL 17 with the extensions an app needs, our own extensions, and safe defaults. It is the database under every Supatype project. Use it on its own too.

Open source under the PostgreSQL License · linux/amd64 and linux/arm64

terminal
docker run -d \
  --name supatype-postgres \
  -e POSTGRES_PASSWORD=your-password \
  -p 5432:5432 \
  supatype/postgres:17-latest

The default superuser is supatype_admin, set with POSTGRES_USER.

ALSO INCLUDED

The usual extensions, ready.

ExtensionWhat it does
PostGISGeography and geometry types, and spatial queries.
pgvectorVector embeddings and similarity search.
pg_graphqlA GraphQL API over your schema.
pg_netAsync HTTP requests from triggers and functions.
pgjwtJWT signing and checking in SQL.
pg_cronScheduled jobs inside Postgres.
pg_safeupdateStops UPDATE and DELETE with no WHERE clause.
pg_plan_filterRejects queries over a cost limit.
wal2jsonLogical decoding as JSON, for realtime.
SAFE DEFAULTS

Locked down before your first table.

Migrations run on first boot and on every start after, so pulling a newer tag over an existing volume applies what is new. supatype migrate doctor checks that the important ones took effect.

  • ✓Row level security is on by default.
  • ✓Passwords are stored as scram-sha-256.
  • ✓The ordinary postgres role is not a superuser.
  • ✓A table you make by hand in public is not granted to anon or authenticated until you grant it.
  • ✓pg_guard loads on every connection, so roles can manage extensions without SUPERUSER.
  • ✓A failed migration stops the container, so no client reaches a half-migrated database.
TAGS

Pick a tag.

TagWhat it is
supatype/postgres:17-latestThe newest PG17 release. Moves only when a release is tagged.
supatype/postgres:x.y.zOne release, pinned and never changed.
supatype/postgres:latestThe same image as 17-latest.
supatype/postgres:developThe newest build of the develop branch.

Not using Docker? Each release also ships native archives for Linux, macOS and Windows. It runs under CloudNativePG too. The supatype/postgres repository covers both.

The whole backend, on top.

Supatype runs this image for you, with migrations, access rules, an API, a typed client and Studio generated from your TypeScript types. Cloud starts with 2 projects, 500 MB database and 1 GB storage, free and with no card.

Closed beta: creating an account requests access. We email you when you are in.