diff --git a/kubernetes-manifests/checkoutservice.yaml b/kubernetes-manifests/checkoutservice.yaml index 2a3b45d..bf2bfe9 100644 --- a/kubernetes-manifests/checkoutservice.yaml +++ b/kubernetes-manifests/checkoutservice.yaml @@ -13,7 +13,7 @@ spec: - name: server image: checkoutservice ports: - - containerPort: 5000 + - containerPort: 5050 env: - name: PRODUCT_CATALOG_SERVICE_ADDR value: "productcatalogservice:3550" @@ -29,5 +29,5 @@ spec: selector: app: checkoutservice ports: - - port: 5000 - targetPort: 5000 + - port: 5050 + targetPort: 5050 diff --git a/src/checkoutservice/Dockerfile b/src/checkoutservice/Dockerfile index 2888137..d4d2f1c 100644 --- a/src/checkoutservice/Dockerfile +++ b/src/checkoutservice/Dockerfile @@ -9,5 +9,5 @@ FROM alpine as release RUN apk add --no-cache \ ca-certificates COPY --from=builder /catalogservice /catalogservice -EXPOSE 5000 +EXPOSE 5050 ENTRYPOINT ["/catalogservice"] diff --git a/src/checkoutservice/main.go b/src/checkoutservice/main.go index 49b744f..8a2990e 100644 --- a/src/checkoutservice/main.go +++ b/src/checkoutservice/main.go @@ -15,7 +15,7 @@ import ( ) const ( - listenPort = "5000" + listenPort = "5050" ) type checkoutService struct {