parent
104e33f5f9
commit
956bdb5396
@ -1,32 +1,7 @@
|
|||||||
spring:
|
spring:
|
||||||
|
# Application 的配置项
|
||||||
application:
|
application:
|
||||||
name: order-application
|
name: order-application
|
||||||
|
# Profile 的配置项
|
||||||
# Spring Cloud 配置项
|
profiles:
|
||||||
cloud:
|
active: local
|
||||||
# Spring Cloud Sentinel 配置项
|
|
||||||
sentinel:
|
|
||||||
transport:
|
|
||||||
dashboard: s1.iocoder.cn:12088 # Sentinel Dashboard 服务地址
|
|
||||||
eager: true # 项目启动时,直接连接到 Sentinel
|
|
||||||
|
|
||||||
# server
|
|
||||||
server:
|
|
||||||
port: 18088
|
|
||||||
servlet:
|
|
||||||
context-path: /order-api/
|
|
||||||
|
|
||||||
swagger:
|
|
||||||
enable: true # 暂时不去掉
|
|
||||||
title: 订单子系统
|
|
||||||
description: 订单子系统
|
|
||||||
version: 1.0.0
|
|
||||||
base-package: cn.iocoder.mall.order.application.controller
|
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info,env,metrics,prometheus
|
|
||||||
metrics:
|
|
||||||
enabled: true
|
|
||||||
|
|||||||
Loading…
Reference in new issue