diff --git a/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala b/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala index 4e04001c07..e92a8c58e2 100644 --- a/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala +++ b/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/dependency/PostgresServiceDependencySpec.scala @@ -9,7 +9,7 @@ class PostgresServiceDependencySpec extends CatsEffectSpec with DoobieScalaTestF "PostgresServiceDependency" should { "fetch its service name and version" in { - new PostgresServiceDependency(xas).serviceDescription.accepted shouldEqual ServiceDescription("postgres", "16.5") + new PostgresServiceDependency(xas).serviceDescription.accepted shouldEqual ServiceDescription("postgres", "17.2") } } diff --git a/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala b/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala index 3e2f61ebd0..104a9db6a7 100644 --- a/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala +++ b/delta/testkit/src/main/scala/ch/epfl/bluebrain/nexus/testkit/postgres/PostgresContainer.scala @@ -9,10 +9,10 @@ import scala.concurrent.duration.DurationInt import scala.jdk.DurationConverters.ScalaDurationOps class PostgresContainer(user: String, password: String, database: String) - extends GenericContainer[PostgresContainer](DockerImageName.parse("library/postgres:16.5")) { + extends GenericContainer[PostgresContainer](DockerImageName.parse("library/postgres:17.2")) { addEnv("POSTGRES_USER", user) addEnv("POSTGRES_PASSWORD", password) - addEnv("POSTGRES_DB222", database) + addEnv("POSTGRES_DB", database) addExposedPort(5432) setWaitStrategy(Wait.forLogMessage(".*database system is ready to accept connections.*\\s", 2)) setCommand("postgres", "-c", "fsync=off") diff --git a/docs/src/main/paradox/docs/delta/api/assets/version.json b/docs/src/main/paradox/docs/delta/api/assets/version.json index 7c6800d32d..ee6d30fab6 100644 --- a/docs/src/main/paradox/docs/delta/api/assets/version.json +++ b/docs/src/main/paradox/docs/delta/api/assets/version.json @@ -3,7 +3,7 @@ "delta": "1.10.0", "dependencies": { "blazegraph": "2.1.6-RC-21-jre", - "postgresql": "16.5", + "postgresql": "17.2", "elasticsearch": "8.16.1" }, "plugins": { diff --git a/docs/src/main/paradox/docs/running-nexus/docker/docker-compose.yaml b/docs/src/main/paradox/docs/running-nexus/docker/docker-compose.yaml index bb774979c1..c695142d34 100644 --- a/docs/src/main/paradox/docs/running-nexus/docker/docker-compose.yaml +++ b/docs/src/main/paradox/docs/running-nexus/docker/docker-compose.yaml @@ -44,7 +44,7 @@ services: memory: 512M postgres: - image: library/postgres:16.5 + image: library/postgres:17.2 environment: POSTGRES_USER: "postgres" POSTGRES_PASSWORD: "postgres" diff --git a/docs/src/main/paradox/docs/running-nexus/index.md b/docs/src/main/paradox/docs/running-nexus/index.md index 2b43c1678a..b79ed4716b 100644 --- a/docs/src/main/paradox/docs/running-nexus/index.md +++ b/docs/src/main/paradox/docs/running-nexus/index.md @@ -106,7 +106,7 @@ $ curl http://localhost/v1/version | jq "dependencies": { "blazegraph": "2.1.6-SNAPSHOT", "elasticsearch": "8.16.1", - "postgres": "16.5" + "postgres": "17.2" }, "environment": "dev", "plugins": { diff --git a/tests/docker/docker-compose.yml b/tests/docker/docker-compose.yml index cc84e92044..9ab3540520 100644 --- a/tests/docker/docker-compose.yml +++ b/tests/docker/docker-compose.yml @@ -142,7 +142,7 @@ services: - ./config:/config postgres: - image: library/postgres:16.5 + image: library/postgres:17.2 ports: - 5432:5432 environment: