diff --git a/kubernetes-manifests/emailservice.yaml b/kubernetes-manifests/emailservice.yaml index 863fe9f..3d08e9d 100644 --- a/kubernetes-manifests/emailservice.yaml +++ b/kubernetes-manifests/emailservice.yaml @@ -31,4 +31,4 @@ spec: app: emailservice ports: - port: 5000 - targetPort: 5000 + targetPort: 8080 diff --git a/src/cartservice/Dockerfile b/src/cartservice/Dockerfile index 6be8c6c..b0578d6 100644 --- a/src/cartservice/Dockerfile +++ b/src/cartservice/Dockerfile @@ -5,4 +5,6 @@ RUN dotnet restore RUN dotnet build RUN dotnet publish WORKDIR /app/bin/Debug/netcoreapp2.0 +ENV PORT 7070 +EXPOSE 7070 ENTRYPOINT ["dotnet", "cartservice.dll", "start"]