diff --git a/applications/KonSoft.AuthServer/Properties/launchSettings.json b/applications/KonSoft.AuthServer/Properties/launchSettings.json index 0650d85..60786c7 100644 --- a/applications/KonSoft.AuthServer/Properties/launchSettings.json +++ b/applications/KonSoft.AuthServer/Properties/launchSettings.json @@ -1,5 +1,4 @@ { - "$schema": "http://json.schemastore.org/launchsettings.json", "profiles": { "http": { "commandName": "Project", @@ -8,6 +7,18 @@ "ASPNETCORE_ENVIRONMENT": "Development" }, "applicationUrl": "https://localhost:44322" + }, + "Container (Dockerfile)": { + "commandName": "Docker", + "launchBrowser": true, + "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", + "environmentVariables": { + "ASPNETCORE_HTTPS_PORTS": "8081", + "ASPNETCORE_HTTP_PORTS": "8080" + }, + "publishAllPorts": true, + "useSSL": true } - } + }, + "$schema": "http://json.schemastore.org/launchsettings.json" } \ No newline at end of file diff --git a/gateways/KonSoft.InternalGateway/InternalGatewayModule.cs b/gateways/KonSoft.InternalGateway/InternalGatewayModule.cs index f046065..e7205da 100644 --- a/gateways/KonSoft.InternalGateway/InternalGatewayModule.cs +++ b/gateways/KonSoft.InternalGateway/InternalGatewayModule.cs @@ -1,17 +1,18 @@ -using KonSoft.Shared.Hosting.Gateways; +using KonSoft.Admin; +using KonSoft.Shared.Hosting.Gateways; using Volo.Abp; using Volo.Abp.Modularity; namespace KonSoft.InternalGateway { [DependsOn( - typeof(KonSoftSharedHostingGatewaysModule) + typeof(KonSoftSharedHostingGatewaysModule), + typeof(AdminHttpApiModule) )] public class InternalGatewayModule : AbpModule { public override void OnApplicationInitialization(ApplicationInitializationContext context) { - } } } diff --git a/gateways/KonSoft.InternalGateway/KonSoft.InternalGateway.csproj b/gateways/KonSoft.InternalGateway/KonSoft.InternalGateway.csproj index 4bd0fa3..022a122 100644 --- a/gateways/KonSoft.InternalGateway/KonSoft.InternalGateway.csproj +++ b/gateways/KonSoft.InternalGateway/KonSoft.InternalGateway.csproj @@ -10,11 +10,7 @@ - - - - - + diff --git a/gateways/KonSoft.InternalGateway/Program.cs b/gateways/KonSoft.InternalGateway/Program.cs index ae03f33..56e1cc6 100644 --- a/gateways/KonSoft.InternalGateway/Program.cs +++ b/gateways/KonSoft.InternalGateway/Program.cs @@ -22,6 +22,7 @@ try await builder.AddApplicationAsync(); var app = builder.Build(); await app.InitializeApplicationAsync(); + app.MapReverseProxy(); await app.RunAsync(); return 0; diff --git a/shared/KonSoft.Shared.Hosting.Gateways/KonSoft.Shared.Hosting.Gateways.csproj b/shared/KonSoft.Shared.Hosting.Gateways/KonSoft.Shared.Hosting.Gateways.csproj index d380fd6..dc74281 100644 --- a/shared/KonSoft.Shared.Hosting.Gateways/KonSoft.Shared.Hosting.Gateways.csproj +++ b/shared/KonSoft.Shared.Hosting.Gateways/KonSoft.Shared.Hosting.Gateways.csproj @@ -6,6 +6,10 @@ enable + + + +