|
6 | 6 | .WithDataVolume("exceptionless.data.v1") |
7 | 7 | .WithKibana(b => b.WithLifetime(ContainerLifetime.Persistent).WithContainerName("Exceptionless-Kibana")); |
8 | 8 |
|
9 | | -var storage = builder.AddMinIo("S3", s => s.WithCredentials("guest", "password").WithPorts(9000).WithBucket("ex-events")) |
| 9 | +var storage = builder.AddMinIo("Storage", s => s.WithCredentials("guest", "password").WithPorts(9000).WithBucket("ex-events")) |
10 | 10 | .WithLifetime(ContainerLifetime.Persistent) |
11 | 11 | .WithContainerName("Exceptionless-Storage"); |
12 | 12 |
|
|
15 | 15 | .WithLifetime(ContainerLifetime.Persistent) |
16 | 16 | .WithContainerName("Exceptionless-Redis") |
17 | 17 | .WithClearCommand() |
18 | | - .WithRedisInsight(b => b.WithLifetime(ContainerLifetime.Persistent).WithContainerName("Exceptionless-RedisInsight")); |
| 18 | + .WithRedisInsight(b => b.WithLifetime(ContainerLifetime.Persistent).WithContainerName("Exceptionless-RedisInsight").WithUrlForEndpoint("http", u => u.DisplayText = "Cache")); |
19 | 19 |
|
20 | 20 | var mail = builder.AddContainer("Mail", "mailhog/mailhog") |
21 | 21 | .WithLifetime(ContainerLifetime.Persistent) |
22 | 22 | .WithContainerName("Exceptionless-Mail") |
23 | 23 | .WithEndpoint(8025, 8025, "http") |
| 24 | + .WithUrlForEndpoint("http", u => u.DisplayText = "Mail") |
24 | 25 | .WithEndpoint(1025, 1025); |
25 | 26 |
|
26 | 27 | builder.AddProject<Projects.Exceptionless_Job>("Jobs", "AllJobs") |
|
31 | 32 | .WaitFor(elastic) |
32 | 33 | .WaitFor(cache) |
33 | 34 | .WaitFor(mail) |
| 35 | + .WithUrlForEndpoint("http", u => u.DisplayText = "Jobs") |
34 | 36 | .WithHttpHealthCheck("/health"); |
35 | 37 |
|
36 | 38 | var api = builder.AddProject<Projects.Exceptionless_Web>("Api", "Exceptionless") |
|
42 | 44 | .WaitFor(elastic) |
43 | 45 | .WaitFor(cache) |
44 | 46 | .WaitFor(mail) |
| 47 | + .WithUrlForEndpoint("http", u => u.DisplayText = "Api") |
45 | 48 | .WithHttpHealthCheck("/health"); |
46 | 49 |
|
47 | 50 | builder.AddNpmApp("Web", "../../src/Exceptionless.Web/ClientApp", "dev") |
48 | 51 | .WithReference(api) |
49 | 52 | .WithEnvironment("ASPNETCORE_URLS", "http://localhost:5200") |
| 53 | + .WithUrlForEndpoint("http", u => u.DisplayText = "Web") |
50 | 54 | .WithEndpoint(port: 5173, targetPort: 5173, scheme: "http", env: "PORT", isProxied: false); |
51 | 55 |
|
52 | 56 | builder.AddNpmApp("AngularWeb", "../../src/Exceptionless.Web/ClientApp.angular", "serve") |
53 | 57 | .WithReference(api) |
54 | 58 | .WithEnvironment("ASPNETCORE_URLS", "http://localhost:5200") |
| 59 | + .WithUrlForEndpoint("http", u => u.DisplayText = "Angular Web") |
55 | 60 | .WithEndpoint(port: 5100, targetPort: 5100, scheme: "http", env: "PORT", isProxied: false); |
56 | 61 |
|
57 | 62 | builder.Build().Run(); |
0 commit comments