From 292876a9917351febce96e21bfa3ebe77c74e8a3 Mon Sep 17 00:00:00 2001 From: samanhappy Date: Tue, 16 Dec 2025 15:40:06 +0800 Subject: [PATCH] feat: update PostgreSQL images to pgvector/pgvector:pg17 across configurations (#513) --- .github/workflows/ci.yml | 2 +- docker-compose.db.yml | 2 +- docs/configuration/database-configuration.mdx | 2 +- docs/configuration/docker-setup.mdx | 8 ++++---- docs/features/smart-routing.mdx | 4 ++-- docs/installation.mdx | 2 +- docs/zh/configuration/database-configuration.mdx | 2 +- docs/zh/configuration/docker-setup.mdx | 8 ++++---- docs/zh/installation.mdx | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c07807..4c0c49f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: # services: # postgres: - # image: postgres:15 + # image: pgvector/pgvector:pg17 # env: # POSTGRES_PASSWORD: postgres # POSTGRES_DB: mcphub_test diff --git a/docker-compose.db.yml b/docker-compose.db.yml index ea1138e..582c075 100644 --- a/docker-compose.db.yml +++ b/docker-compose.db.yml @@ -3,7 +3,7 @@ version: "3.8" services: # PostgreSQL database for MCPHub configuration postgres: - image: postgres:16-alpine + image: pgvector/pgvector:pg17-alpine container_name: mcphub-postgres environment: POSTGRES_DB: mcphub diff --git a/docs/configuration/database-configuration.mdx b/docs/configuration/database-configuration.mdx index 01f8051..e4bba90 100644 --- a/docs/configuration/database-configuration.mdx +++ b/docs/configuration/database-configuration.mdx @@ -59,7 +59,7 @@ version: '3.8' services: postgres: - image: postgres:16 + image: pgvector/pgvector:pg17 environment: POSTGRES_DB: mcphub POSTGRES_USER: mcphub diff --git a/docs/configuration/docker-setup.mdx b/docs/configuration/docker-setup.mdx index d01e90e..69748c7 100644 --- a/docs/configuration/docker-setup.mdx +++ b/docs/configuration/docker-setup.mdx @@ -119,7 +119,7 @@ services: - mcphub-network postgres: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-postgres environment: - POSTGRES_DB=mcphub @@ -203,7 +203,7 @@ services: retries: 3 postgres: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-postgres environment: - POSTGRES_DB=mcphub @@ -305,7 +305,7 @@ services: - mcphub-dev postgres: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-postgres-dev environment: - POSTGRES_DB=mcphub @@ -445,7 +445,7 @@ Add backup service to your `docker-compose.yml`: ```yaml services: backup: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-backup environment: - PGPASSWORD=${POSTGRES_PASSWORD} diff --git a/docs/features/smart-routing.mdx b/docs/features/smart-routing.mdx index 4eea7bc..3618367 100644 --- a/docs/features/smart-routing.mdx +++ b/docs/features/smart-routing.mdx @@ -78,7 +78,7 @@ Smart Routing requires additional setup compared to basic MCPHub usage: - ./mcp_settings.json:/app/mcp_settings.json postgres: - image: pgvector/pgvector:pg16 + image: pgvector/pgvector:pg17 environment: - POSTGRES_DB=mcphub - POSTGRES_USER=mcphub @@ -146,7 +146,7 @@ Smart Routing requires additional setup compared to basic MCPHub usage: spec: containers: - name: postgres - image: pgvector/pgvector:pg16 + image: pgvector/pgvector:pg17 env: - name: POSTGRES_DB value: mcphub diff --git a/docs/installation.mdx b/docs/installation.mdx index 830cff9..8eb97d3 100644 --- a/docs/installation.mdx +++ b/docs/installation.mdx @@ -96,7 +96,7 @@ Optional for Smart Routing: # Optional: PostgreSQL for Smart Routing postgres: - image: pgvector/pgvector:pg16 + image: pgvector/pgvector:pg17 environment: POSTGRES_DB: mcphub POSTGRES_USER: mcphub diff --git a/docs/zh/configuration/database-configuration.mdx b/docs/zh/configuration/database-configuration.mdx index ae59772..f9d387b 100644 --- a/docs/zh/configuration/database-configuration.mdx +++ b/docs/zh/configuration/database-configuration.mdx @@ -59,7 +59,7 @@ version: '3.8' services: postgres: - image: postgres:16 + image: pgvector/pgvector:pg17 environment: POSTGRES_DB: mcphub POSTGRES_USER: mcphub diff --git a/docs/zh/configuration/docker-setup.mdx b/docs/zh/configuration/docker-setup.mdx index 8d90997..8d7f65e 100644 --- a/docs/zh/configuration/docker-setup.mdx +++ b/docs/zh/configuration/docker-setup.mdx @@ -119,7 +119,7 @@ services: - mcphub-network postgres: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-postgres environment: - POSTGRES_DB=mcphub @@ -203,7 +203,7 @@ services: retries: 3 postgres: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-postgres environment: - POSTGRES_DB=mcphub @@ -305,7 +305,7 @@ services: - mcphub-dev postgres: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-postgres-dev environment: - POSTGRES_DB=mcphub @@ -445,7 +445,7 @@ secrets: ```yaml services: backup: - image: postgres:15-alpine + image: pgvector/pgvector:pg17 container_name: mcphub-backup environment: - PGPASSWORD=${POSTGRES_PASSWORD} diff --git a/docs/zh/installation.mdx b/docs/zh/installation.mdx index e1685c5..aa5876e 100644 --- a/docs/zh/installation.mdx +++ b/docs/zh/installation.mdx @@ -96,7 +96,7 @@ description: '各种平台的详细安装说明' # 可选:用于智能路由的 PostgreSQL postgres: - image: pgvector/pgvector:pg16 + image: pgvector/pgvector:pg17 environment: POSTGRES_DB: mcphub POSTGRES_USER: mcphub