Skip to content

Commit

Permalink
Pin Postgres version to be used to 15
Browse files Browse the repository at this point in the history
To sync the primary and read-only instances of Datalad-Registry,
their Postgres DB services have to be in the same version.
  • Loading branch information
candleindark committed Feb 22, 2024
1 parent ed05f66 commit f156bb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.read-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit f156bb7

Please sign in to comment.