Compare commits
2 Commits
e65052d7f4
...
e5bfda69a6
| Author | SHA1 | Date | |
|---|---|---|---|
| e5bfda69a6 | |||
| 49c88bdb66 |
@@ -5,7 +5,7 @@ var builder = DistributedApplication.CreateBuilder(args);
|
||||
var cache = builder.AddRedis("cache");
|
||||
|
||||
var keycloak = builder.AddKeycloak(ServiceNames.Keycloak, 8080)
|
||||
.WithRealmImport(@"Resources\present-portal.json")
|
||||
.WithRealmImport(@"Resources\present-portal-realm.json")
|
||||
.WithDataVolume()
|
||||
.WithExternalHttpEndpoints()
|
||||
.WithLifetime(ContainerLifetime.Persistent);
|
||||
@@ -21,4 +21,4 @@ builder.AddProject<Projects.PresentPortal_Web>("webfrontend")
|
||||
.WithReference(apiService)
|
||||
.WaitFor(apiService);
|
||||
|
||||
builder.Build().Run();
|
||||
builder.Build().Run();
|
||||
|
||||
2070
PresentPortal.AppHost/Resources/present-portal-realm.json
Normal file
2070
PresentPortal.AppHost/Resources/present-portal-realm.json
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PresentPortal.ServiceDefaults\PresentPortal.ServiceDefaults.csproj"/>
|
||||
<ProjectReference Include="..\PresentPortal.Shared\PresentPortal.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using PresentPortal.Shared;
|
||||
using PresentPortal.Web;
|
||||
using PresentPortal.Web.Components;
|
||||
|
||||
@@ -15,7 +16,7 @@ builder.Services.AddHttpClient<WeatherApiClient>(client =>
|
||||
{
|
||||
// This URL uses "https+http://" to indicate HTTPS is preferred over HTTP.
|
||||
// Learn more about service discovery scheme resolution at https://aka.ms/dotnet/sdschemes.
|
||||
client.BaseAddress = new("https+http://apiservice");
|
||||
client.BaseAddress = new($"https+http://{ServiceNames.Api}");
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
Reference in New Issue
Block a user