react
This commit is contained in:
26
server/gateway/src/main/resources/application.yml
Normal file
26
server/gateway/src/main/resources/application.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
server:
|
||||
port: 10000
|
||||
|
||||
eureka:
|
||||
client:
|
||||
register-with-eureka: true
|
||||
fetch-registry: true
|
||||
service-url:
|
||||
defalutZone: http://localhost:8761/eureka
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: gateway-server
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
- id: member-service
|
||||
uri: lb://MEMBER-SERVICE
|
||||
predicates:
|
||||
- Path=/member-service/**
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: health, info, metrics, prometheus, gateway
|
||||
Reference in New Issue
Block a user