application-dev.properties 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. # 监控配置
  10. # 客户端开关
  11. spring.boot.admin.client.enabled=true
  12. # 设置 Spring Boot Admin Server 地址
  13. spring.boot.admin.client.url: http://localhost:9090/admin
  14. spring.boot.admin.client.instance.service-host-type=IP
  15. spring.boot.admin.client.username=ruoyi
  16. spring.boot.admin.client.password=123456
  17. ####### MongoDB properties(Non-core configuration properties) #######
  18. ####### delete mongodb config to disable mongodb #######
  19. oms.mongodb.enable=false
  20. #spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
  21. ####### Email properties(Non-core configuration properties) #######
  22. ####### Delete the following code to disable the mail #######
  23. #spring.mail.host=smtp.163.com
  24. #spring.mail.username=zqq@163.com
  25. #spring.mail.password=GOFZPNARMVKCGONV
  26. #spring.mail.properties.mail.smtp.auth=true
  27. #spring.mail.properties.mail.smtp.starttls.enable=true
  28. #spring.mail.properties.mail.smtp.starttls.required=true
  29. ####### DingTalk properties(Non-core configuration properties) #######
  30. ####### Delete the following code to disable the DingTalk #######
  31. #oms.alarm.ding.app-key=dingauqwkvxxnqskknfv
  32. #oms.alarm.ding.app-secret=XWrEPdAZMPgJeFtHuL0LH73LRj-74umF2_0BFcoXMfvnX0pCQvt0rpb1JOJU_HLl
  33. #oms.alarm.ding.agent-id=847044348
  34. ####### Resource cleaning properties #######
  35. oms.instanceinfo.retention=1
  36. oms.container.retention.local=1
  37. oms.container.retention.remote=-1
  38. ####### Cache properties #######
  39. oms.instance.metadata.cache.size=1024
  40. ####### Threshold in precise fetching server(0~100). 100 means full detection of server, in which #######
  41. ####### split-brain could be avoided while performance overhead would increase. #######
  42. oms.accurate.select.server.percentage = 50