From b10a2686fdb0f55e101ec29dd305e3e7fc1af10b Mon Sep 17 00:00:00 2001 From: serendipty01 <34604329+serendipty01@users.noreply.github.com> Date: Thu, 11 Jun 2026 07:47:54 +0530 Subject: [PATCH] chore: switch postgres to official postgres:15.18 image (#720) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: switch postgres to official postgres:15.18 image Replace the unmaintained third-party ankane/pgvector:v0.5.1 image with the official postgres:15.18 image. No data migration needed — existing pg_data volumes are compatible. * docs: drop stale pgvector reference from docker setup Postgres image moved to official postgres:15.18; the extension is no longer bundled and is unused, so the docker docs should not advertise it. * Match the redis service by binding to localhost only for inter-container access --------- Co-authored-by: Juan Mrad --- docker-compose.images.yaml | 2 +- docker-compose.yaml | 5 ++--- docs/development/docker.md | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docker-compose.images.yaml b/docker-compose.images.yaml index e33d05a..148e7dc 100644 --- a/docker-compose.images.yaml +++ b/docker-compose.images.yaml @@ -1,6 +1,6 @@ services: postgres: - image: ankane/pgvector:v0.5.1 + image: postgres:15.18 volumes: - pg_data:/var/lib/postgresql/data healthcheck: diff --git a/docker-compose.yaml b/docker-compose.yaml index 3ec1f7b..8cd75c9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -54,12 +54,11 @@ services: - postgres postgres: - image: ankane/pgvector:v0.5.1 - # image: postgres:15.3 + image: postgres:15.18 volumes: - pg_data:/var/lib/postgresql/data ports: - - '5432:5432' + - '127.0.0.1:5432:5432' healthcheck: test: ['CMD', 'pg_isready', '-U', 'postgres', '-d', 'postgres'] interval: 2s diff --git a/docs/development/docker.md b/docs/development/docker.md index 2595185..362d83e 100644 --- a/docs/development/docker.md +++ b/docs/development/docker.md @@ -29,7 +29,7 @@ This starts: - **Coop server** on port 8080 - **Coop client** (nginx) on port 3000 -- **Postgres** (pgvector), **Redis**, **ScyllaDB**, **ClickHouse** +- **Postgres**, **Redis**, **ScyllaDB**, **ClickHouse** - Database migrations (run automatically) - A seed service that creates an admin user with a randomly generated password -- 2.51.2