Compare commits

..

2 Commits

Author SHA1 Message Date
e5bfda69a6 Add keycloak users to export 2025-08-03 19:08:10 +02:00
49c88bdb66 Fix service reference 2025-08-03 19:05:43 +02:00
5 changed files with 2075 additions and 2474 deletions

View File

@@ -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);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,7 @@
<ItemGroup>
<ProjectReference Include="..\PresentPortal.ServiceDefaults\PresentPortal.ServiceDefaults.csproj"/>
<ProjectReference Include="..\PresentPortal.Shared\PresentPortal.Shared.csproj" />
</ItemGroup>
<ItemGroup>

View File

@@ -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();