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

# server
server:
15 16
  port: 18082
  servlet:
17 18 19
    context-path: /user-api/

swagger:
20
  enable: false
21 22 23 24 25 26 27 28

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