From 6aebd72164affe3794133572d36ac481692b0884 Mon Sep 17 00:00:00 2001 From: ilitirit Date: Wed, 12 Apr 2023 21:17:10 +0200 Subject: [PATCH] Use port 80 --- Expedience.Api/Dockerfile | 2 +- Expedience.Api/ingress.yaml | 2 +- Expedience.Api/service.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Expedience.Api/Dockerfile b/Expedience.Api/Dockerfile index 4be5aeb..664adc0 100644 --- a/Expedience.Api/Dockerfile +++ b/Expedience.Api/Dockerfile @@ -34,7 +34,7 @@ COPY --from=build /app/publish . ENV ASPNETCORE_ENVIRONMENT=Production # Expose the port the application will run on -EXPOSE 443 +EXPOSE 80 # Set the entry point for the container ENTRYPOINT ["dotnet", "Expedience.Api.dll"] \ No newline at end of file diff --git a/Expedience.Api/ingress.yaml b/Expedience.Api/ingress.yaml index e4c9f3c..78da131 100644 --- a/Expedience.Api/ingress.yaml +++ b/Expedience.Api/ingress.yaml @@ -21,4 +21,4 @@ spec: service: name: expedience-api-service port: - number: 443 + number: 80 diff --git a/Expedience.Api/service.yaml b/Expedience.Api/service.yaml index 05c3269..a3b8a97 100644 --- a/Expedience.Api/service.yaml +++ b/Expedience.Api/service.yaml @@ -8,6 +8,6 @@ spec: app: expedience-api ports: - protocol: TCP - port: 443 - targetPort: 443 + port: 80 + targetPort: 80 type: ClusterIP