Skip to content

Commit

Permalink
Add data volume to RabbitMQ resource
Browse files Browse the repository at this point in the history
Needs to run this in AppHost project folder first:
dotnet user-secrets set Parameters:rabbitmq-password AnyPasswordYouWant
  • Loading branch information
fredimachado committed May 23, 2024
1 parent 9635b01 commit 298dbee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Aspire/NCafe.AppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.WithDataVolume();

var rabbitMq = builder.AddRabbitMQ("rabbitmq")
.WithDataVolume()
.WithHealthCheck()
.WithManagementPlugin();

Expand Down

0 comments on commit 298dbee

Please sign in to comment.