Add keycloak users to export
This commit is contained in:
@@ -5,7 +5,7 @@ var builder = DistributedApplication.CreateBuilder(args);
|
|||||||
var cache = builder.AddRedis("cache");
|
var cache = builder.AddRedis("cache");
|
||||||
|
|
||||||
var keycloak = builder.AddKeycloak(ServiceNames.Keycloak, 8080)
|
var keycloak = builder.AddKeycloak(ServiceNames.Keycloak, 8080)
|
||||||
.WithRealmImport(@"Resources\present-portal.json")
|
.WithRealmImport(@"Resources\present-portal-realm.json")
|
||||||
.WithDataVolume()
|
.WithDataVolume()
|
||||||
.WithExternalHttpEndpoints()
|
.WithExternalHttpEndpoints()
|
||||||
.WithLifetime(ContainerLifetime.Persistent);
|
.WithLifetime(ContainerLifetime.Persistent);
|
||||||
@@ -21,4 +21,4 @@ builder.AddProject<Projects.PresentPortal_Web>("webfrontend")
|
|||||||
.WithReference(apiService)
|
.WithReference(apiService)
|
||||||
.WaitFor(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
Reference in New Issue
Block a user