addAdminer

Method
📦 CommunityToolkit.Aspire.Hosting.Adminer v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAdminer(
name: string,
port?: number): AdminerContainerResource;
}

Signature

methodaddAdminerbuilder
Adds a Adminer container resource to the application.
addAdminer(
name: string,
port?: number): AdminerContainerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
portnumberoptionalThe host port to bind the underlying container to.
AdminerContainerResource

Applies to

This method applies to the following types: