CommunityToolkit.Aspire.Hosting.Listmonk
📦 CommunityToolkit.Aspire.Hosting.Listmonkv13.6.1Import path
apphost/modules/aspire16Functions
2Types
2 types, 16 functions and 5 members
Handles
Functions
DistributedApplicationBuilder
ListmonkResource
method
WithAdminCredentialsbuilderConfigures the first-run listmonk Super Admin credentials.
WithAdminCredentials(username string, password ParameterResource) ListmonkResourcemethod
WithAdminPasswordbuilderConfigures the first-run listmonk Super Admin password.
WithAdminPassword(password ParameterResource) ListmonkResourcemethod
WithAdminUserbuilderConfigures the first-run listmonk Super Admin username.
WithAdminUser(username string) ListmonkResourcemethod
WithAppAddressbuilderConfigures the listmonk web server address.
WithAppAddress(address string) ListmonkResourcemethod
WithDatabaseMaxIdleConnectionsbuilderConfigures the maximum number of idle PostgreSQL connections.
WithDatabaseMaxIdleConnections(maxIdle float64) ListmonkResourcemethod
WithDatabaseMaxLifetimebuilderConfigures the maximum lifetime for PostgreSQL connections.
WithDatabaseMaxLifetime(maxLifetime string) ListmonkResourcemethod
WithDatabaseMaxOpenConnectionsbuilderConfigures the maximum number of open PostgreSQL connections.
WithDatabaseMaxOpenConnections(maxOpen float64) ListmonkResourcemethod
WithDatabaseParametersbuilderConfigures additional PostgreSQL DSN parameters.
WithDatabaseParameters(parameters string) ListmonkResourcemethod
WithDatabaseSslModebuilderConfigures the PostgreSQL SSL mode used by listmonk.
WithDatabaseSslMode(sslMode string) ListmonkResourcemethod
WithGroupIdbuilderConfigures the group ID used by the listmonk container entrypoint.
WithGroupId(groupId float64) ListmonkResourcemethod
WithReferencebuilderReferences a
PostgresDatabaseResource as the PostgreSQL database for the listmonk resource.WithReference(database PostgresDatabaseResource) ListmonkResourcemethod
WithTimeZonebuilderConfigures the time zone used by the listmonk container.
WithTimeZone(timeZone string) ListmonkResourcemethod
WithUploadsBindMountbuilderAdds a bind mount for listmonk media uploads.
WithUploadsBindMount(source string) ListmonkResourcemethod
WithUploadsVolumebuilderAdds a named volume for listmonk media uploads.
WithUploadsVolume(options ...*WithUploadsVolumeOptions) ListmonkResourcemethod
WithUserIdbuilderConfigures the user ID used by the listmonk container entrypoint.
WithUserId(userId float64) ListmonkResource