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