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
|
- name: server
|
||||||
image: checkoutservice
|
image: checkoutservice
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5050
|
||||||
env:
|
env:
|
||||||
- name: PRODUCT_CATALOG_SERVICE_ADDR
|
- name: PRODUCT_CATALOG_SERVICE_ADDR
|
||||||
value: "productcatalogservice:3550"
|
value: "productcatalogservice:3550"
|
||||||
|
@ -29,5 +29,5 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: checkoutservice
|
app: checkoutservice
|
||||||
ports:
|
ports:
|
||||||
- port: 5000
|
- port: 5050
|
||||||
targetPort: 5000
|
targetPort: 5050
|
||||||
|
|
|
@ -9,5 +9,5 @@ FROM alpine as release
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
ca-certificates
|
ca-certificates
|
||||||
COPY --from=builder /catalogservice /catalogservice
|
COPY --from=builder /catalogservice /catalogservice
|
||||||
EXPOSE 5000
|
EXPOSE 5050
|
||||||
ENTRYPOINT ["/catalogservice"]
|
ENTRYPOINT ["/catalogservice"]
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
listenPort = "5000"
|
listenPort = "5050"
|
||||||
)
|
)
|
||||||
|
|
||||||
type checkoutService struct {
|
type checkoutService struct {
|
||||||
|
|
Loading…
Reference in a new issue