Aspire.Hosting.Docker
Official
📦 Aspire.Hosting.Docker v13.2.0 7 Functions
4 Types
4 types and 98 members
Types
Functions
method
addDockerComposeEnvironment builder Adds a Docker Compose publishing environment
addDockerComposeEnvironment(name: string): DockerComposeEnvironmentResource method
configureDashboard builder Configures the Aspire dashboard resource for the Docker Compose environment
configureDashboard(configure: (obj: DockerComposeAspireDashboardResource) => Promise<void>): DockerComposeEnvironmentResource method
publishAsDockerComposeService builder Publishes the resource as a Docker Compose service with custom service configuration
publishAsDockerComposeService(configure: (arg1: DockerComposeServiceResource, arg2: Service) => Promise<void>): IComputeResource method
withDashboard builder Enables or disables the Aspire dashboard for the Docker Compose environment
withDashboard(enabled?: boolean): DockerComposeEnvironmentResource method
withForwardedHeaders builder Enables or disables forwarded headers support for the Aspire dashboard
withForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResource method
withHostPort builder Sets the host port for the Aspire dashboard
withHostPort(port?: number): DockerComposeAspireDashboardResource method
withProperties builder Configures properties of the Docker Compose environment
withProperties(configure: (obj: DockerComposeEnvironmentResource) => Promise<void>): DockerComposeEnvironmentResource