checkoutservice: change port to 5050

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-21 14:07:08 -07:00
parent 98ac7e3a10
commit 25dd31952c
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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"]

View file

@ -15,7 +15,7 @@ import (
)
const (
listenPort = "5000"
listenPort = "5050"
)
type checkoutService struct {