|
|
|
@ -40,7 +40,8 @@ public class PostgresqlDatabaseContainerProvider implements DatabaseContainerPro
|
|
|
|
|
@Override |
|
|
|
|
public GenericContainer<?> getContainer(DolphinSchedulerDatabaseContainer dataSourceContainer) { |
|
|
|
|
// todo: test with multiple pg version
|
|
|
|
|
GenericContainer<?> postgresqlContainer = new PostgreSQLContainer(DockerImageName.parse("postgres:11.1")) |
|
|
|
|
GenericContainer<?> postgresqlContainer = |
|
|
|
|
new PostgreSQLContainer(DockerImageName.parse(dataSourceContainer.imageName())) |
|
|
|
|
.withUsername("root") |
|
|
|
|
.withPassword("root") |
|
|
|
|
.withDatabaseName("dolphinscheduler") |
|
|
|
|