createDBContainerConfig method

  1. @override
PostgreSQLContainerConfig createDBContainerConfig(
  1. int dbPort
)
override

The DockerContainerConfig instantiator.

Implementation

@override
PostgreSQLContainerConfig createDBContainerConfig(int dbPort) =>
    PostgreSQLContainerConfig(
        version: version,
        pgUser: dbUser,
        pgPassword: dbPass,
        pgDatabase: dbName,
        hostPort: dbPort,
        postgresPort: postgresPort,
        maxConnections: maxConnections,
        logStatement: logStatement);