withPassword method

PostgresContainer withPassword(
  1. String value
)

Sets the user's password (POSTGRES_PASSWORD).

Implementation

PostgresContainer withPassword(String value) {
  _password = value;
  withEnv('POSTGRES_PASSWORD', value);
  return this;
}