update discover-server port 8888

main
ycz008 2023-07-14 16:16:41 +08:00
parent 8b10879841
commit 4e3833b184
1 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ spec:
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
containerPort: 8761
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
@ -35,7 +35,7 @@ spec:
- name: "EUREKA_INSTANCE_HOSTNAME"
value: "discovery-service"
- name: "SERVER_PORT"
value: "8080"
value: "8761"
- name: "LOG_APP-NAME"
value: "discovery-service"
- name: "SPRING_PROFILES_ACTIVE"
@ -64,7 +64,7 @@ spec:
ports:
- name: http
protocol: TCP
port: 8080
port: 8761
targetPort: http
selector:
app: discovery-service
@ -102,7 +102,7 @@ spec:
- name: "SERVER_PORT"
value: "8080"
- name: "EUREKA_CLIENT_SERVICE-URL_DEFAULT-ZONE"
value: "http://discovery-service:8080/eureka/"
value: "http://discovery-service:8761/eureka/"
- name: "LOG_APP-NAME"
value: "gateway"
- name: "SPRING_PROFILES_ACTIVE"
@ -134,4 +134,4 @@ spec:
port: 8080
targetPort: http
selector:
app: gateway
app: gateway