diff --git a/jpa/boot-data-multipledatasources/docker-compose.yml b/jpa/boot-data-multipledatasources/docker-compose.yml index 54b598760..fde48d7ce 100644 --- a/jpa/boot-data-multipledatasources/docker-compose.yml +++ b/jpa/boot-data-multipledatasources/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.8' services: postgres: - image: postgres:16.4-alpine + image: postgres:17.0-alpine ports: - "5432:5432" environment: diff --git a/jpa/boot-data-multipledatasources/src/test/java/com/example/multipledatasources/TestMultipleDataSourcesApplication.java b/jpa/boot-data-multipledatasources/src/test/java/com/example/multipledatasources/TestMultipleDataSourcesApplication.java index 62fca45e8..bda41d6f9 100644 --- a/jpa/boot-data-multipledatasources/src/test/java/com/example/multipledatasources/TestMultipleDataSourcesApplication.java +++ b/jpa/boot-data-multipledatasources/src/test/java/com/example/multipledatasources/TestMultipleDataSourcesApplication.java @@ -11,10 +11,10 @@ public class TestMultipleDataSourcesApplication { private static final MySQLContainer MY_SQL_CONTAINER = - new MySQLContainer<>(DockerImageName.parse("mysql").withTag("9.0")); + new MySQLContainer<>(DockerImageName.parse("mysql").withTag("9.1")); private static final PostgreSQLContainer POSTGRE_SQL_CONTAINER = - new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.3-alpine")); + new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17.0-alpine")); static { Startables.deepStart(MY_SQL_CONTAINER, POSTGRE_SQL_CONTAINER).join();