From f909b6175fd7b58da58c89cc57b40db02ae1f8d4 Mon Sep 17 00:00:00 2001 From: alex289 Date: Fri, 22 Nov 2024 16:07:34 +0100 Subject: [PATCH] feat: Aspire improvements --- CleanArchitecture.AppHost/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CleanArchitecture.AppHost/Program.cs b/CleanArchitecture.AppHost/Program.cs index 4780d21..81aba7e 100644 --- a/CleanArchitecture.AppHost/Program.cs +++ b/CleanArchitecture.AppHost/Program.cs @@ -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 = @@ -15,6 +15,7 @@ builder.AddProject("CleanArchitecture-Api") .WithOtlpExporter() + .WithHttpHealthCheck("/health") .WithReference(redis) .WaitFor(redis) .WithReference(rabbitMq)