2025-06-03 17:18:11 +08:00
|
|
|
server:
|
2025-06-26 18:13:37 +08:00
|
|
|
port: 8100
|
2025-06-03 17:18:11 +08:00
|
|
|
spring:
|
|
|
|
|
application:
|
2025-09-12 18:03:23 +08:00
|
|
|
name: gateway-local
|
2025-06-03 17:18:11 +08:00
|
|
|
profiles:
|
|
|
|
|
active: dev
|
|
|
|
|
config:
|
|
|
|
|
import: nacos:shared.properties?group=${spring.profiles.active}&refreshEnabled=true
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
config:
|
|
|
|
|
server-addr: ${nacos.server-addr:112.74.186.154:8848}
|
|
|
|
|
namespace: wms
|
|
|
|
|
group: ${spring.profiles.active}
|
2025-06-26 18:13:37 +08:00
|
|
|
discovery:
|
|
|
|
|
server-addr: ${nacos.server-addr:112.74.186.154:8848}
|
|
|
|
|
namespace: wms
|
|
|
|
|
group: ${spring.profiles.active}
|
|
|
|
|
gateway:
|
|
|
|
|
discovery:
|
|
|
|
|
locator:
|
|
|
|
|
enabled: true
|
|
|
|
|
lower-case-service-id: true
|
|
|
|
|
loadbalancer:
|
|
|
|
|
enabled: true
|
2025-06-03 17:18:11 +08:00
|
|
|
logging:
|
|
|
|
|
level:
|
2025-06-26 18:13:37 +08:00
|
|
|
root: warn
|
|
|
|
|
management:
|
|
|
|
|
endpoints:
|
|
|
|
|
web:
|
|
|
|
|
exposure:
|
2025-09-25 11:49:59 +08:00
|
|
|
include: '*'
|
|
|
|
|
enabled-by-default: on
|
|
|
|
|
endpoint:
|
|
|
|
|
health:
|
|
|
|
|
show-details: always
|
|
|
|
|
health:
|
|
|
|
|
db:
|
|
|
|
|
enabled: true
|
|
|
|
|
redis:
|
|
|
|
|
enabled: true
|