ListmonkBuilderExtensions
Classstaticnet10.0
Provides extension methods for adding listmonk resources to the application model.
namespace Aspire.Hosting;
public static class ListmonkBuilderExtensions{ // ...}16 members
Methods16
Section titled MethodsIResourceBuilder<ListmonkResource> Adds a listmonk container resource to the application model. The default image is and the tag is .
WithAdminCredentials(IResourceBuilder<ListmonkResource>, string, IResourceBuilder<ParameterResource>) extensionats exportIResourceBuilder<ListmonkResource> Configures the first-run listmonk Super Admin credentials.
WithAdminPassword(IResourceBuilder<ListmonkResource>, IResourceBuilder<ParameterResource>) extensionats exportIResourceBuilder<ListmonkResource> Configures the first-run listmonk Super Admin password.
IResourceBuilder<ListmonkResource> Configures the first-run listmonk Super Admin username.
IResourceBuilder<ListmonkResource> Configures the listmonk web server address.
IResourceBuilder<ListmonkResource> Configures the maximum number of idle PostgreSQL connections.
IResourceBuilder<ListmonkResource> Configures the maximum lifetime for PostgreSQL connections.
IResourceBuilder<ListmonkResource> Configures the maximum number of open PostgreSQL connections.
IResourceBuilder<ListmonkResource> Configures additional PostgreSQL DSN parameters.
IResourceBuilder<ListmonkResource> Configures the PostgreSQL SSL mode used by listmonk.
IResourceBuilder<ListmonkResource> Configures the group ID used by the listmonk container entrypoint.
WithReference(IResourceBuilder<ListmonkResource>, IResourceBuilder<PostgresDatabaseResource>) extensionats exportIResourceBuilder<ListmonkResource> References a
ApplicationModel.PostgresDatabaseResource as the PostgreSQL database for the listmonk resource. IResourceBuilder<ListmonkResource> Configures the time zone used by the listmonk container.
IResourceBuilder<ListmonkResource> Adds a bind mount for listmonk media uploads.
IResourceBuilder<ListmonkResource> Adds a named volume for listmonk media uploads.
IResourceBuilder<ListmonkResource> Configures the user ID used by the listmonk container entrypoint.