From d980c972a476bf3306c277fd1e39ea6c6e62756a Mon Sep 17 00:00:00 2001 From: Nestisse Date: Fri, 29 Mar 2024 14:13:54 +0100 Subject: [PATCH] Debug --- API_SQLuedo/API/Dockerfile | 2 +- API_SQLuedo/API/Properties/launchSettings.json | 4 ++-- API_SQLuedo/API/appsettings.json | 11 ++++++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/API_SQLuedo/API/Dockerfile b/API_SQLuedo/API/Dockerfile index 93fd7ac..b6db93c 100644 --- a/API_SQLuedo/API/Dockerfile +++ b/API_SQLuedo/API/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base USER app WORKDIR /app -EXPOSE 8080 +EXPOSE 8081 FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build ARG BUILD_CONFIGURATION=Release diff --git a/API_SQLuedo/API/Properties/launchSettings.json b/API_SQLuedo/API/Properties/launchSettings.json index 02e776b..06835e8 100644 --- a/API_SQLuedo/API/Properties/launchSettings.json +++ b/API_SQLuedo/API/Properties/launchSettings.json @@ -14,7 +14,7 @@ "dotnetRunMessages": true, "launchBrowser": true, "launchUrl": "containers/johnnyratton-sqluedo-api", - "applicationUrl": "http://localhost:5015", + "applicationUrl": "http://localhost:8081", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -24,7 +24,7 @@ "dotnetRunMessages": true, "launchBrowser": true, "launchUrl": "containers/johnnyratton-sqluedo-api", - "applicationUrl": "https://localhost:7259;http://localhost:5015", + "applicationUrl": "https://localhost:8081;http://localhost:5015", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/API_SQLuedo/API/appsettings.json b/API_SQLuedo/API/appsettings.json index ea8ad4c..464bd6f 100644 --- a/API_SQLuedo/API/appsettings.json +++ b/API_SQLuedo/API/appsettings.json @@ -1,5 +1,14 @@ { - "https_port": 8081, + "Kestrel": { + "EndPoints": { + "Http": { + "Url": "http://localhost:8081" + }, + "Https": { + "Url": "https://localhost:8081" + } + } + }, "Logging": { "LogLevel": { "Default": "Information",