Browse Source

update for eventhub.web endpoints

staging
yusuf karatoprak 5 years ago
parent
commit
60a19805ba
  1. 2
      Dockerfile.EventHub.HttpApi.Host
  2. 2
      Dockerfile.EventHub.IdentityServer
  3. 2
      Dockerfile.EventHub.Web
  4. 2
      manifests/service.eventhub.web.yml
  5. 8
      src/EventHub.Web/appsettings.json

2
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

2
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

2
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

2
manifests/service.eventhub.web.yml

@ -8,4 +8,4 @@ spec:
ports:
- port: 8080
targetPort: 80
type: ClusterIP
type: LoadBalancer

8
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"
}
}
}
Loading…
Cancel
Save