application.yaml 655 Bytes
Newer Older
YunaiV's avatar
YunaiV committed
1 2 3
spring:
  application:
    name: pay-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
YunaiV's avatar
YunaiV committed
12 13 14 15 16

# server
server:
  port: 18084
  servlet:
17 18 19
    context-path: /pay-api/

swagger:
20 21 22 23 24
  enable: true
  title: 支付子系统
  description: 支付子系统
  version: 1.0.0
  base-package: cn.iocoder.mall.pay.application.controller
25 26 27 28 29 30 31 32

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