diff --git a/Dockerfile.EventHub.HttpApi.Host b/Dockerfile.EventHub.HttpApi.Host index 294a245..94d56b7 100644 --- a/Dockerfile.EventHub.HttpApi.Host +++ b/Dockerfile.EventHub.HttpApi.Host @@ -9,6 +9,8 @@ COPY ["src/EventHub.HttpApi.Host/EventHub.HttpApi.Host.csproj", "src/EventHub.Ht RUN dotnet restore "src/EventHub.HttpApi.Host/EventHub.HttpApi.Host.csproj" COPY . . WORKDIR "/src/src/EventHub.HttpApi.Host" + +RUN dotnet dev-certs https --trust RUN dotnet build "EventHub.HttpApi.Host.csproj" -c Release -o /app FROM build AS publish diff --git a/Dockerfile.EventHub.IdentityServer b/Dockerfile.EventHub.IdentityServer index 18b472a..f82bf39 100644 --- a/Dockerfile.EventHub.IdentityServer +++ b/Dockerfile.EventHub.IdentityServer @@ -9,6 +9,8 @@ COPY ["src/EventHub.IdentityServer/EventHub.IdentityServer.csproj", "src/EventHu RUN dotnet restore "src/EventHub.IdentityServer/EventHub.IdentityServer.csproj" COPY . . WORKDIR "/src/src/EventHub.IdentityServer" + +RUN dotnet dev-certs https --trust RUN dotnet build "EventHub.IdentityServer.csproj" -c Release -o /app FROM build AS publish diff --git a/Dockerfile.EventHub.Web b/Dockerfile.EventHub.Web index 4d9ca0f..2ab49eb 100644 --- a/Dockerfile.EventHub.Web +++ b/Dockerfile.EventHub.Web @@ -9,6 +9,8 @@ COPY ["src/EventHub.Web/EventHub.Web.csproj", "src/EventHub.Web/"] RUN dotnet restore "src/EventHub.Web/EventHub.Web.csproj" COPY . . WORKDIR "/src/src/EventHub.Web" + +RUN dotnet dev-certs https --trust RUN dotnet build "EventHub.Web.csproj" -c Release -o /app FROM build AS publish diff --git a/manifests/service.eventhub.web.yml b/manifests/service.eventhub.web.yml index a470dfd..f688b01 100644 --- a/manifests/service.eventhub.web.yml +++ b/manifests/service.eventhub.web.yml @@ -8,4 +8,4 @@ spec: ports: - port: 8080 targetPort: 80 - type: ClusterIP \ No newline at end of file + type: LoadBalancer \ No newline at end of file diff --git a/src/EventHub.Web/appsettings.json b/src/EventHub.Web/appsettings.json index 870d464..64ab802 100644 --- a/src/EventHub.Web/appsettings.json +++ b/src/EventHub.Web/appsettings.json @@ -1,17 +1,17 @@ { "App": { - "SelfUrl": "https://localhost:44308" + "SelfUrl": "http://40.88.252.120:5001" }, "RemoteServices": { "Default": { - "BaseUrl": "https://localhost:44362/" + "BaseUrl": "http://20.71.4.19:5002/" } }, "Redis": { "Configuration": "volosofteventhub.redis.cache.windows.net:6380,password=9Kc6E1lbwy5c+RHR1KZS26JPydYR5SeR8UixdECQWv4=,ssl=True,abortConnect=False" }, "AuthServer": { - "Authority": "https://localhost:44313", + "Authority": "http://40.88.252.120:5001/", "RequireHttpsMetadata": "true", "ClientId": "EventHub_Web", "ClientSecret": "1q2w3e*" @@ -19,4 +19,4 @@ "StringEncryption": { "DefaultPassPhrase": "7loHY5ax625vIGkV" } -} +} \ No newline at end of file