diff --git a/AGENTS.md b/AGENTS.md index 439e5e4..8590397 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. diff --git a/Dockerfile b/Dockerfile index 1861f30..d9b7d8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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}" \ diff --git a/README.md b/README.md index f45a019..0f54973 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.