checkoutservice: change port to 5050
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
98ac7e3a10
commit
25dd31952c
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
listenPort = "5000"
|
||||
listenPort = "5050"
|
||||
)
|
||||
|
||||
type checkoutService struct {
|
||||
|
|
Loading…
Reference in a new issue