Skip to content

Commit

Permalink
feat: Aspire improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
alex289 committed Nov 22, 2024
1 parent 5a92022 commit f909b61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CleanArchitecture.AppHost/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var builder = DistributedApplication.CreateBuilder(args);

var redis = builder.AddRedis("Redis");
var redis = builder.AddRedis("Redis").WithRedisInsight();

var rabbitPasswordRessource = new ParameterResource("password", _ => "guest");
var rabbitPasswordParameter =
Expand All @@ -15,6 +15,7 @@

builder.AddProject<Projects.CleanArchitecture_Api>("CleanArchitecture-Api")
.WithOtlpExporter()
.WithHttpHealthCheck("/health")
.WithReference(redis)
.WaitFor(redis)
.WithReference(rabbitMq)
Expand Down

0 comments on commit f909b61

Please sign in to comment.