application-dev.properties 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. oms.env=dev
  2. ####### Database properties(Configure according to the the environment) #######
  3. spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
  4. spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  5. spring.datasource.core.username=root
  6. spring.datasource.core.password=root
  7. spring.datasource.core.maximum-pool-size=20
  8. spring.datasource.core.minimum-idle=5
  9. ####### MongoDB properties(Non-core configuration properties) #######
  10. ####### delete mongodb config to disable mongodb #######
  11. #oms.mongodb.enable=true
  12. #spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
  13. ####### Email properties(Non-core configuration properties) #######
  14. ####### Delete the following code to disable the mail #######
  15. #spring.mail.host=smtp.163.com
  16. #spring.mail.username=zqq@163.com
  17. #spring.mail.password=GOFZPNARMVKCGONV
  18. #spring.mail.properties.mail.smtp.auth=true
  19. #spring.mail.properties.mail.smtp.starttls.enable=true
  20. #spring.mail.properties.mail.smtp.starttls.required=true
  21. ####### DingTalk properties(Non-core configuration properties) #######
  22. ####### Delete the following code to disable the DingTalk #######
  23. #oms.alarm.ding.app-key=dingauqwkvxxnqskknfv
  24. #oms.alarm.ding.app-secret=XWrEPdAZMPgJeFtHuL0LH73LRj-74umF2_0BFcoXMfvnX0pCQvt0rpb1JOJU_HLl
  25. #oms.alarm.ding.agent-id=847044348
  26. ####### Resource cleaning properties #######
  27. oms.instanceinfo.retention=1
  28. oms.container.retention.local=1
  29. oms.container.retention.remote=-1
  30. ####### Cache properties #######
  31. oms.instance.metadata.cache.size=1024
  32. ####### Threshold in precise fetching server(0~100). 100 means full detection of server, in which #######
  33. ####### split-brain could be avoided while performance overhead would increase. #######
  34. oms.accurate.select.server.percentage = 50