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:postgres-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