application.yaml 669 Bytes
Newer Older
1
spring:
2 3
  application:
    name: product-application
4 5

  # Spring Cloud 配置项
sin's avatar
sin committed
6
  cloud:
7
    # Spring Cloud Sentinel 配置项
sin's avatar
sin committed
8 9
    sentinel:
      transport:
10 11
        dashboard: s1.iocoder.cn:12088 # Sentinel Dashboard 服务地址
      eager: true # 项目启动时,直接连接到 Sentinel
12

13 14
# server
server:
15 16
  port: 18081
  servlet:
17 18
    context-path: /product-api/

19 20 21 22 23 24 25 26 27


management:
  endpoints:
    web:
      exposure:
        include: health,info,env,metrics,prometheus
    metrics:
      enabled: true
岳鹏磊's avatar
岳鹏磊 committed
28 29 30 31 32 33

swagger:
  enable: true
  title: 商品子系统
  description: 商品子系统
  version: 1.0.0
34
  base-package: cn.iocoder.mall.product.application.controller