application-nx1q.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. server:
  2. port: 8085
  3. spring:
  4. application:
  5. name: transport
  6. jpa:
  7. show-sql: false
  8. cache:
  9. type: SIMPLE
  10. datasource:
  11. driver-class-name: oracle.jdbc.OracleDriver
  12. url: jdbc:oracle:thin:@18.6.30.55:1521:gdnxfd
  13. username: nxfdprod
  14. password: gdnxfd123
  15. type: com.alibaba.druid.pool.DruidDataSource
  16. druid:
  17. max-active: 20
  18. initial-size: 1
  19. min-idle: 3
  20. max-wait: 60000
  21. time-between-eviction-runs-millis: 60000
  22. min-evictable-idle-time-millis: 300000
  23. test-while-idle: true
  24. test-on-borrow: false
  25. test-on-return: false
  26. knife4j:
  27. redis:
  28. # 是否采用json序列化方式,若不采用jackson序列化
  29. jsonSerialType: 'Fastjson'
  30. host: 18.6.30.75
  31. password: 123456
  32. port: 6379
  33. databases: [0] # 要使用的库,会根据此处填写的库生成redisTemplate
  34. timeout: 60s
  35. lettuce: # lettuce基于netty,线程安全,支持并发
  36. pool:
  37. max-active: 50
  38. max-wait: -1ms
  39. max-idle: 8
  40. min-idle: 0
  41. cache:
  42. type: Simple
  43. timeseries:
  44. db-type: redis
  45. #taoscz场站数据 数据连接方式分为两种 JDBC-JNI和JDBC-RESTful
  46. #JDBC-JNI方式驱动为com.taosdata.jdbc.TSDBDriver 端口为6030
  47. #JDBC-RESTful方式驱动为com.taosdata.jdbc.rs.RestfulDriver 端口为6041
  48. taoscz:
  49. # server_ip: 192.168.1.252
  50. # server_port: 6030
  51. # db_name: hnj_fdc
  52. # user_name: root
  53. # password: taosdata
  54. # pool_size: 10
  55. # max_pool_size: 100
  56. # driver_type: com.taosdata.jdbc.TSDBDriver
  57. # server_ip: 123.60.219.66
  58. # server_port: 6041
  59. # db_name: hnj_fdc
  60. # user_name: root
  61. # password: taosdata
  62. # pool_size: 10
  63. # max_pool_size: 100
  64. # driver_type: com.taosdata.jdbc.rs.RestfulDriver
  65. server_ip: 192.168.1.67
  66. server_port: 6041
  67. db_name: gdnxxny
  68. user_name: root
  69. password: taosdata
  70. pool_size: 10
  71. max_pool_size: 100
  72. driver_type: com.taosdata.jdbc.rs.RestfulDriver
  73. #是否缓存所有风机测点
  74. isLoadAllTag: false
  75. redis:
  76. host: 18.6.30.75
  77. port: 6379
  78. password: 123456