Fix port to match .NET 8 default

This commit is contained in:
2024-01-23 09:04:28 -05:00
parent 2549d9a8d5
commit 253be3b77f
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/ChrisKaczor.HomeMonitor.Power.Service.dll",
"program": "${workspaceFolder}/bin/Debug/net8.0/ChrisKaczor.HomeMonitor.Power.Service.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,

View File

@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
WORKDIR /app
EXPOSE 80
EXPOSE 8080
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /src

View File

@@ -132,7 +132,7 @@ metadata:
spec:
ports:
- name: client
port: 80
port: 8080
selector:
app: power-service
type: ClusterIP
@@ -156,7 +156,7 @@ spec:
- kind: Service
name: power-service
namespace: home-monitor
port: 80
port: 8080
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware