Skip to content
DocsTry Aspire
DocsTry

CommunityToolkit.Aspire.Hosting.Listmonk

📦 CommunityToolkit.Aspire.Hosting.Listmonkv13.5.0
16Functions
1Types

Types

Functions

methodaddListmonkbuilder
Adds a listmonk container resource to the application model. The default image is and the tag is .
addListmonk(name: string, port?: number): ListmonkResource
methodwithAdminCredentialsbuilder
Configures the first-run listmonk Super Admin credentials.
withAdminCredentials(username: string, password: ParameterResource): ListmonkResource
methodwithAdminPasswordbuilder
Configures the first-run listmonk Super Admin password.
withAdminPassword(password: ParameterResource): ListmonkResource
methodwithAdminUserbuilder
Configures the first-run listmonk Super Admin username.
withAdminUser(username: string): ListmonkResource
methodwithAppAddressbuilder
Configures the listmonk web server address.
withAppAddress(address: string): ListmonkResource
methodwithDatabaseMaxIdleConnectionsbuilder
Configures the maximum number of idle PostgreSQL connections.
withDatabaseMaxIdleConnections(maxIdle: number): ListmonkResource
methodwithDatabaseMaxLifetimebuilder
Configures the maximum lifetime for PostgreSQL connections.
withDatabaseMaxLifetime(maxLifetime: string): ListmonkResource
methodwithDatabaseMaxOpenConnectionsbuilder
Configures the maximum number of open PostgreSQL connections.
withDatabaseMaxOpenConnections(maxOpen: number): ListmonkResource
methodwithDatabaseParametersbuilder
Configures additional PostgreSQL DSN parameters.
withDatabaseParameters(parameters: string): ListmonkResource
methodwithDatabaseSslModebuilder
Configures the PostgreSQL SSL mode used by listmonk.
withDatabaseSslMode(sslMode: string): ListmonkResource
methodwithGroupIdbuilder
Configures the group ID used by the listmonk container entrypoint.
withGroupId(groupId: number): ListmonkResource
methodwithReferencebuilder
References a `PostgresDatabaseResource` as the PostgreSQL database for the listmonk resource.
withReference(database: PostgresDatabaseResource): ListmonkResource
methodwithTimeZonebuilder
Configures the time zone used by the listmonk container.
withTimeZone(timeZone: string): ListmonkResource
methodwithUploadsBindMountbuilder
Adds a bind mount for listmonk media uploads.
withUploadsBindMount(source: string): ListmonkResource
methodwithUploadsVolumebuilder
Adds a named volume for listmonk media uploads.
withUploadsVolume(name?: string): ListmonkResource
methodwithUserIdbuilder
Configures the user ID used by the listmonk container entrypoint.
withUserId(userId: number): ListmonkResource