application.yaml 587 Bytes
Newer Older
1 2 3
spring:
  application:
    name: order-application
sin's avatar
sin committed
4 5 6 7 8 9 10 11
  cloud:
    sentinel:
      transport:
        port: 8719
        dashboard: localhost:12088
      metric:
        charset: UTF-8
      eager: false
12 13 14

# server
server:
sin's avatar
sin committed
15
  port: 18088
16 17
  servlet:
    context-path: /order-api/
sin's avatar
sin committed
18 19

swagger:
20 21 22 23 24
  enable: true # 暂时不去掉
  title: 订单子系统
  description: 订单子系统
  version: 1.0.0
  base-package: cn.iocoder.mall.order.application.controller
25 26 27 28 29 30 31 32

management:
  endpoints:
    web:
      exposure:
        include: health,info,env,metrics,prometheus
    metrics:
      enabled: true