application-k8s.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. server:
  2. port: 8520
  3. spring:
  4. ##mqtt配置
  5. mqtt:
  6. username: {{ $.Values.rabbitmq_mqtt.vhost }}:{{ $.Values.rabbitmq_mqtt.username }}
  7. password: {{ $.Values.rabbitmq_mqtt.password }}
  8. host-url: tcp://{{ $.Values.rabbitmq_mqtt.url }}:{{ $.Values.rabbitmq_mqtt.port }}
  9. clientId: mqttId555
  10. completionTimeout: 3000
  11. timeout: 1000
  12. keepalive: 20
  13. topic: device/#
  14. datasource:
  15. dynamic:
  16. datasource:
  17. master:
  18. url: jdbc:postgresql://{{ $.Values.postgres.url }}:{{ $.Values.postgres.port }}/{{ $.Values.postgres.database }}?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
  19. username: {{ $.Values.postgres.username }}
  20. password: {{ $.Values.postgres.password }}
  21. driver-class-name: org.postgresql.Driver
  22. #redis 配置
  23. redis:
  24. database: {{ $.Values.redis.database }}
  25. host: {{ $.Values.redis.url }}
  26. port: {{ $.Values.redis.port }}
  27. password: {{ $.Values.redis.password }}
  28. jeecg:
  29. #分布式锁配置
  30. redisson:
  31. address: http://{{ $.Values.redis.url }}:{{ $.Values.redis.port }}
  32. password: {{ $.Values.redis.password }}
  33. type: STANDALONE
  34. enabled: true
  35. postgresql:
  36. url: jdbc:postgresql://{{ $.Values.postgres.url }}:{{ $.Values.postgres.port }}/{{ $.Values.postgres.database }}
  37. username: {{ $.Values.postgres.username }}
  38. password: {{ $.Values.postgres.password }}
  39. iotedge:
  40. ip: {{ $.Values.iotedge.url }}
  41. port: {{ $.Values.iotedge.port }}
  42. sso:
  43. ip: {{ $.Values.sso.url }}
  44. port: {{ $.Values.sso.port }}
  45. username: {{ $.Values.sso.username }}
  46. password: {{ $.Values.sso.password }}
  47. notification:
  48. ip: {{ $.Values.notification.url }}
  49. port: {{ $.Values.notification.port }}