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 '
2
2
3
3
volumes :
4
4
prometheus_data : {}
@@ -17,7 +17,7 @@ services:
17
17
- 3306:3306
18
18
19
19
flyway :
20
- image : flyway/flyway
20
+ image : flyway/flyway:7.5.2
21
21
command : -url=jdbc:mysql://sampledb -schemas=sample -user=root -password=pass123 -connectRetries=60 migrate
22
22
volumes :
23
23
- ../resources/flyway/db/migration:/flyway/sql
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ private static GenericContainer<?> buildMySqlContainer() {
48
48
}
49
49
50
50
private static GenericContainer <?> buildFlywayContainer (final Startable ... dependsOn ) {
51
- return new GenericContainer <>("flyway/flyway" )
51
+ return new GenericContainer <>("flyway/flyway:7.5.2 " )
52
52
.dependsOn (dependsOn )
53
53
.withNetwork (NETWORK )
54
54
.withCopyFileToContainer (MountableFile .forHostPath ("../resources/flyway/db" ), "/flyway/sql" )
You can’t perform that action at this time.
0 commit comments