Use port 80

main
ilitirit 3 years ago
parent b747d2a467
commit 6aebd72164

@ -34,7 +34,7 @@ COPY --from=build /app/publish .
ENV ASPNETCORE_ENVIRONMENT=Production ENV ASPNETCORE_ENVIRONMENT=Production
# Expose the port the application will run on # Expose the port the application will run on
EXPOSE 443 EXPOSE 80
# Set the entry point for the container # Set the entry point for the container
ENTRYPOINT ["dotnet", "Expedience.Api.dll"] ENTRYPOINT ["dotnet", "Expedience.Api.dll"]

@ -21,4 +21,4 @@ spec:
service: service:
name: expedience-api-service name: expedience-api-service
port: port:
number: 443 number: 80

@ -8,6 +8,6 @@ spec:
app: expedience-api app: expedience-api
ports: ports:
- protocol: TCP - protocol: TCP
port: 443 port: 80
targetPort: 443 targetPort: 80
type: ClusterIP type: ClusterIP

Loading…
Cancel
Save