Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update the local Postgres and Redis to the versions closest to production (#5878)

Olga Bulate8a4e426cf5c
diff --git a/api/compose.yml b/api/compose.yml
index bc15547e5..c2b839455 100644
--- a/api/compose.yml
+++ b/api/compose.yml
@@ -2,7 +2,9 @@ services:
cache:
profiles:
- api
- image: docker.io/redis:7.2.11
+ # Production runs ElastiCache Redis OSS 7.1, an AWS version with no matching
+ # upstream release, so this uses the supported 7.2 series.
+ image: docker.io/redis:7.2.17
ports:
- "50263:6379"
diff --git a/docker-compose.yml b/docker-compose.yml
index e87568ff8..c3ac7d9cc 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,7 +12,9 @@ services:
- ingestion_server
- api
- catalog_indexer_worker
- image: docker.io/postgres:17.9-alpine
+ # Production runs RDS PostgreSQL 17 with automatic minor upgrades; use the
+ # same minor version as `docker/upstream_db/Dockerfile`.
+ image: docker.io/postgres:17.12-alpine
ports:
- "50254:5432"
volumes: