PostgreSqlContainerDefinition Class
A ContainerDefinition pre-configured for PostgreSQL. Create one with ContainerDefinition.CreatePostgreSql.
public sealed class PostgreSqlContainerDefinition : ContainerDefinition- Inheritance
ContainerDefinitionPostgreSqlContainerDefinition
Properties
| Name | Description |
|---|---|
| Password | Gets or sets the password of the PostgreSQL superuser. Setting this value updates POSTGRES_PASSWORD in ContainerDefinition.Environment. |
Password
PostgreSqlContainerDefinition.csGets or sets the password of the PostgreSQL superuser. Setting this value updates POSTGRES_PASSWORD in ContainerDefinition.Environment.
public string Password { get; set; }Property value
Methods
| Name | Description |
|---|---|
| CreateContainer() | Creates a PostgreSqlContainer from a deep copy of this definition. |
CreateContainer()
PostgreSqlContainerDefinition.csCreates a PostgreSqlContainer from a deep copy of this definition.
public override PostgreSqlContainer CreateContainer()Returns
PostgreSqlContainer A new PostgreSQL container.