db.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. spring:
  2. datasource:
  3. data:
  4. jdbc-url: jdbc:postgresql://223.75.194.87:6057/watersmart?useSSL=false&useAffectedRows=false&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
  5. username: postgres
  6. password: kpr.23417.postgres
  7. driver-class-name: org.postgresql.Driver
  8. max-wait: 60000
  9. maximum-pool-size: 200
  10. minimum-idle: 1
  11. validation-query: SELECT 1
  12. connection-test-query: SELECT 1
  13. test-on-borrow: false
  14. test-on-return: false
  15. test-while-idle: true
  16. max-lifetime: 120000
  17. idle-timeout: 30000
  18. connection-timeout: 30000
  19. time-between-eviction-runs-millis: 60000
  20. minEvictableIdleTimeMillis: 300000
  21. #influxdb
  22. influx:
  23. read-timeout: 30000
  24. clients:
  25. #枣阳
  26. - url: http://192.168.44.58:8086/
  27. user: kpr
  28. password: kpr.2025@117.influxdb
  29. database: iot
  30. #测试
  31. - url: http://119.96.165.176:8086/
  32. user: kpr
  33. password: kpr.2024@117.influxdb
  34. database: iot