application-yun.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. server:
  2. port: 6060
  3. servlet:
  4. context-path: /
  5. spring:
  6. application:
  7. name: run-economy
  8. main:
  9. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  10. # cloud:
  11. # nacos:
  12. # discovery:
  13. # server-addr: 10.81.3.155:8848
  14. # #指定yaml格式的配置
  15. # file-extension: yaml
  16. # cluster-name: master
  17. # username: nacos
  18. # password: nacos
  19. #redis集群
  20. redis:
  21. #host: 127.0.0.1
  22. host: 124.70.18.168
  23. port: 6379
  24. timeout: 100000
  25. # 集群环境打开下面注释,单机不需要打开
  26. # cluster:
  27. # #集群信息
  28. # nodes: 10.83.68.151:6379,10.83.68.152:6379,10.83.68.153:6379,10.83.68.154:6379,10.83.68.155:6379,10.83.68.156:6379,10.83.68.157:6379,10.83.68.158:6379,10.83.68.159:6379
  29. # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
  30. # maxRedirects: 3
  31. password: gdnxfd123
  32. application:
  33. name: test
  34. jedis:
  35. pool:
  36. max-active: 8
  37. min-idle: 0
  38. max-idle: 8
  39. max-wait: -1
  40. database: 0
  41. autoconfigure:
  42. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  43. datasource:
  44. type: com.alibaba.druid.pool.DruidDataSource
  45. driver-class-name: org.postgresql.Driver
  46. url: jdbc:postgresql://124.70.75.91:5432/jn_test #IMS_NEM_SD
  47. username: postgres
  48. password: gd123
  49. #华为云测试地址
  50. # url: jdbc:postgresql://124.70.75.91:5432/jn_test #IMS_NEM_SD
  51. # username: postgres
  52. # password: gd123
  53. oracle-schema=:
  54. # type: com.alibaba.druid.pool.DruidDataSource
  55. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  56. # username: root
  57. # password: root
  58. # driver-class-name: com.mysql.jdbc.Driver
  59. druid:
  60. max-active: 20
  61. initial-size: 1
  62. min-idle: 3
  63. max-wait: 60000
  64. time-between-eviction-runs-millis: 60000
  65. min-evictable-idle-time-millis: 300000
  66. test-while-idle: true
  67. test-on-borrow: false
  68. test-on-return: false
  69. servlet:
  70. multipart:
  71. # 开启 multipart 上传功能
  72. enabled: true
  73. # 文件写入磁盘的阈值
  74. file-size-threshold: 2KB
  75. # 最大文件大小
  76. max-file-size: 200MB
  77. # 最大请求大小
  78. max-request-size: 215MB
  79. mybatis-plus:
  80. configuration:
  81. map-underscore-to-camel-case: true
  82. auto-mapping-behavior: full
  83. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  84. default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
  85. mapper-locations: classpath*:mapper/**/*Mapper.xml
  86. global-config:
  87. # 逻辑删除配置
  88. db-config:
  89. #id-type: auto
  90. # 删除前
  91. logic-not-delete-value: 1
  92. # 删除后
  93. logic-delete-value: 0
  94. #table-prefix: t_
  95. id-type: assign_uuid
  96. #配置类型别名对应的包
  97. type-aliases-package: com.gyee.runeconomy.model.auto
  98. #用于扫描通用枚举包
  99. type-enums-package: com.gyee.runeconomy.config
  100. logging:
  101. level:
  102. root: info
  103. com.example: debug
  104. initialcode: INITIAL
  105. db:
  106. url: http://127.0.0.1:8011/ts
  107. #url: http://192.168.11.250:8011/ts
  108. runWindpowerstation: SD_GDDL_RZLX_FDC_STA,SD_GDDL_QDJN_FDC_STA,SD_GDDL_WHWD_FDC_STA,SD_GDDL_WHXQ_FDC_STA,SD_GDDL_RZWL_FDC_STA,SD_GDDL_WFZC_FDC_STA,SD_GDDL_DZXJ_FDC_STA,SD_GDDL_XTTA_FDC_STA,SD_LYDL_BH1_FDC_STA,SD_LYDL_BH2_FDC_STA,SD_LYDL_CG_FDC_STA,SD_LYDL_FJ_FDC_STA,SD_LYDL_YS_FDC_STA,SD_SXNY_FXFC_FDC_STA,SD_SXNY_JNSS_FDC_STA,SD_SXNY_WFBH_FDC_STA,SD_SXNY_PLHS_FDC_STA,SD_SXNY_JNCQ_FDC_STA,SD_SXNY_LXLN_FDC_STA,SD_SXNY_LQJS_FDC_STA,SD_SXNY_ZYXD_FDC_STA,SD_SXNY_ZYFS_FDC_STA,SD_GHTZ_HZJ_GDC_STA