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