From f156bb7f72b8fb046422463a624339a53dc4e86b Mon Sep 17 00:00:00 2001 From: Isaac To Date: Wed, 21 Feb 2024 21:57:33 -0800 Subject: [PATCH] Pin Postgres version to be used to 15 To sync the primary and read-only instances of Datalad-Registry, their Postgres DB services have to be in the same version. --- docker-compose.read-only.yml | 2 +- docker-compose.testing.yml | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.read-only.yml b/docker-compose.read-only.yml index c11d46e0..14c18bee 100644 --- a/docker-compose.read-only.yml +++ b/docker-compose.read-only.yml @@ -24,7 +24,7 @@ services: - ${WEB_PATH_AT_HOST}/instance:/app/instance read-only-db: - image: docker.io/postgres:latest + image: docker.io/postgres:15 environment: POSTGRES_DB: "${POSTGRES_DB}" POSTGRES_USER: "${POSTGRES_USER}" diff --git a/docker-compose.testing.yml b/docker-compose.testing.yml index be7b6927..42b22b81 100644 --- a/docker-compose.testing.yml +++ b/docker-compose.testing.yml @@ -26,7 +26,7 @@ services: - "127.0.0.1:6379:6379" db: - image: docker.io/postgres:latest + image: docker.io/postgres:15 environment: POSTGRES_DB: "${POSTGRES_DB}" POSTGRES_USER: "${POSTGRES_USER}" diff --git a/docker-compose.yml b/docker-compose.yml index 337b621c..ff1b32ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -131,7 +131,7 @@ services: - "127.0.0.1:6379:6379" db: - image: docker.io/postgres:latest + image: docker.io/postgres:15 environment: POSTGRES_DB: "${POSTGRES_DB}" POSTGRES_USER: "${POSTGRES_USER}"