/Elsa.Aspire

Sample Application for Elsa using .NET Aspire

Primary LanguageC#The UnlicenseUnlicense

Elsa Aspire

This sample application demonstrates a configuration of Elsa Workflows using .NET Aspire.

The application consists of:

  • Elsa Studio
  • Elsa Server Running in two node using MassTransitDispatcher for distributed management
  • PostgreSQL database for persistence
  • RabbitMQ for server node communication

With the latest Aspire preview, database passwords need to be consistent between app launches. Set the Postgres password in the secrets as below. (See Persist data using volumes)

dotnet user-secrets set "Parameters:pg-password" <password>

Aspirate can be used for Kubernetes deployment. A customized manifest is included for easy deployment.

Inside Elsa.Aspire.AppHost Porject, run below command to generate deployment files:

aspirate generate

Followed by:

aspirate apply