update discover-service port

main
ycz008 2023-06-06 16:39:23 +08:00
parent b4793f1092
commit 74b311b3ff
1 changed files with 4 additions and 4 deletions

View File

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