Skip to content

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

Run the local and CI API database on PostgreSQL 17 (#5780)

Olga Bulat40d40600c6ae
diff --git a/docker-compose.yml b/docker-compose.yml
index 628b315b5..e87568ff8 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,7 +12,7 @@ services:
- ingestion_server
- api
- catalog_indexer_worker
- image: docker.io/postgres:13.10-alpine
+ image: docker.io/postgres:17.9-alpine
ports:
- "50254:5432"
volumes:
diff --git a/ingestion_server/test/mock_schemas/README.md b/ingestion_server/test/mock_schemas/README.md
index 2cdba61b1..a2f375217 100644
--- a/ingestion_server/test/mock_schemas/README.md
+++ b/ingestion_server/test/mock_schemas/README.md
@@ -3,5 +3,5 @@
Files in this directory were created using the following command:
```bash
-docker run --rm -e PGPASSWORD=<password> postgres:13 pg_dump -d openledger -h <url> -p 5432 -U deploy -t 'public.<table>' --schema-only
+docker run --rm -e PGPASSWORD=<password> postgres:17 pg_dump -d openledger -h <url> -p 5432 -U deploy -t 'public.<table>' --schema-only
```