File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
acceptance-test/src/test/java/br/com/helpdev/atdd Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- version : ' 3.8 '
1+ version : ' 3.3 '
22
33volumes :
44 prometheus_data : {}
@@ -17,7 +17,7 @@ services:
1717 - 3306:3306
1818
1919 flyway :
20- image : flyway/flyway
20+ image : flyway/flyway:7.5.2
2121 command : -url=jdbc:mysql://sampledb -schemas=sample -user=root -password=pass123 -connectRetries=60 migrate
2222 volumes :
2323 - ../resources/flyway/db/migration:/flyway/sql
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ private static GenericContainer<?> buildMySqlContainer() {
4848 }
4949
5050 private static GenericContainer <?> buildFlywayContainer (final Startable ... dependsOn ) {
51- return new GenericContainer <>("flyway/flyway" )
51+ return new GenericContainer <>("flyway/flyway:7.5.2 " )
5252 .dependsOn (dependsOn )
5353 .withNetwork (NETWORK )
5454 .withCopyFileToContainer (MountableFile .forHostPath ("../resources/flyway/db" ), "/flyway/sql" )
You can’t perform that action at this time.
0 commit comments