update port

main
ycz008 2023-06-06 15:08:51 +08:00
parent 62f429eb7a
commit 34c0c40160
1 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ spec:
image: beaconfireiic/discovery-service:1.1.0
ports:
- name: http
containerPort: 8761
containerPort: 8888
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
@ -34,7 +34,7 @@ spec:
- name: "EUREKA_INSTANCE_HOSTNAME"
value: "discovery-service"
- name: "SERVER_PORT"
value: "8761"
value: "8888"
- name: "LOG_APP-NAME"
value: "discovery-service"
- name: "SPRING_PROFILES_ACTIVE"
@ -63,7 +63,7 @@ spec:
ports:
- name: http
protocol: TCP
port: 8761
port: 8888
targetPort: http
selector:
app: discovery-service
@ -97,7 +97,7 @@ spec:
image: beaconfireiic/gateway:1.1.0
ports:
- name: http
containerPort: 9090
containerPort: 8888
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
@ -105,9 +105,9 @@ spec:
- name: "EUREKA_INSTANCE_HOSTNAME"
value: "discovery-service"
- name: "SERVER_PORT"
value: "9090"
value: "8888"
- name: "EUREKA_CLIENT_SERVICE-URL_DEFAULT-ZONE"
value: "http://discovery-service:8761/eureka/"
value: "http://discovery-service:8888/eureka/"
- name: "LOG_APP-NAME"
value: "gateway"
- name: "SPRING_PROFILES_ACTIVE"
@ -136,7 +136,7 @@ spec:
ports:
- name: http
protocol: TCP
port: 9090
port: 8888
targetPort: http
selector:
app: gateway