Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# db — agent guide

The house PostgreSQL image for Rawback, published as `ghcr.io/rawback-app/db`. It is PostgreSQL 18
plus PostGIS 3.6 plus PGroonga 4.0 on Debian trixie, for `linux/amd64`. It is a drop-in replacement
plus PostGIS 3.6 plus PGroonga 4.1 on Debian trixie, for `linux/amd64`. It is a drop-in replacement
for `docker.io/postgis/postgis:18-3.6` (same base image, same `PGDATA`, same `template_postgis`), with
PGroonga added.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FROM postgres:${PG_MAJOR}-trixie
# POSTGIS_VERSION for the image tags.
ARG POSTGIS_MAJOR=3
ARG POSTGIS_VERSION=3.6
ARG PGROONGA_VERSION=4.0
ARG PGROONGA_VERSION=4.1

LABEL org.opencontainers.image.title="rawback-db" \
org.opencontainers.image.description="PostgreSQL ${PG_MAJOR} with PostGIS ${POSTGIS_VERSION} and PGroonga ${PGROONGA_VERSION}" \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Rawback DB

The PostgreSQL image that every Rawback service runs on. It is PostgreSQL 18 with PostGIS 3.6 and
PGroonga 4.0 on Debian trixie, published as `ghcr.io/rawback-app/db`.
PGroonga 4.1 on Debian trixie, published as `ghcr.io/rawback-app/db`.

It is a drop-in replacement for `docker.io/postgis/postgis:18-3.6`. It shares that image's base image,
data directory layout and `template_postgis`, and adds [PGroonga](https://pgroonga.github.io/) for
Expand All @@ -13,11 +13,11 @@ full-text search in Japanese, Chinese, Korean and every other language.
| --- | --- | --- |
| PostgreSQL | 18, newest 18.x at build time | the official [`postgres:18-trixie`](https://hub.docker.com/_/postgres) image |
| PostGIS | 3.6.x (raster, topology and SFCGAL libraries included) | apt.postgresql.org, `postgresql-18-postgis-3` |
| PGroonga | 4.0.x | packages.groonga.org, `postgresql-18-pgdg-pgroonga` |
| PGroonga | 4.1.x | packages.groonga.org, `postgresql-18-pgdg-pgroonga` |
| pg_trgm | bundled with PostgreSQL | contrib |

The Dockerfile pins the minor versions and lets patch releases float, so every build takes the newest
18.x, 3.6.x and 4.0.x. If apt resolves a different PostGIS or PGroonga minor, the build fails rather
18.x, 3.6.x and 4.1.x. If apt resolves a different PostGIS or PGroonga minor, the build fails rather
than ship it. Each release job's summary lists the exact versions that went into it.

The image is built for `linux/amd64` only. Apple Silicon runs it under emulation.
Expand Down