app.develop.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. farm_name: xdmy001
  2. app_name: kpt-pasture
  3. app_environment: test
  4. debug: true
  5. http_server_addr: ':8090'
  6. http_metrics_addr: ':23332'
  7. jwt_expire_time: 172800
  8. neck_ring_limit: 10000
  9. store:
  10. show_sql: true
  11. driver_name: mysql
  12. kpt_rw: "kpt_pasture:4~H@InK6jK@tcp(47.92.95.119:3326)/kpt_pasture?charset=utf8mb4&parseTime=true&loc=Local&allowNativePasswords=true&timeout=300s&readTimeout=300s&writeTimeout=300s"
  13. kpt_migr: "kpt_pasture:4~H@InK6jK@tcp(47.92.95.119:3326)/kpt_pasture?charset=utf8mb4&parseTime=true&loc=Local&allowNativePasswords=true&timeout=300s&readTimeout=300s&writeTimeout=300s"
  14. redis_setting:
  15. cache_redis:
  16. addr: '47.92.95.119:6389'
  17. db: 11
  18. requirepass: "root"
  19. expiry: 120
  20. jwt_secret: "sUd7j%UfJMt59ywh"
  21. side_work_setting:
  22. asynq_setting:
  23. redis:
  24. addr: '47.92.95.119:6389'
  25. db: 0
  26. pool_size: 10
  27. password: "root"
  28. concurrency: 5
  29. queues:
  30. work: 20
  31. low: 10
  32. default: 5
  33. cron:
  34. crontab_start_run: false
  35. update_cow_info: "0 01 1 * * ?"
  36. generate_work_order: "0 05 1 * * ?"
  37. immunization_plan: "0 10 1 * * ?"
  38. same_time_plan: "0 15 1 * * ?"
  39. update_same_time: "0 20 1 * * ?"
  40. system_basic_crontab: "0 25 1 * * ?"
  41. cow_pregnant: "0 00 15 * * ?"
  42. neck_ring: "0 30 * * * ?"
  43. mqtt:
  44. broker: "47.92.95.119"
  45. port: 1883
  46. username: ""
  47. password: ""
  48. client_id: "ping"
  49. topic: "a"
  50. qos: 0
  51. retain: false
  52. keep_alive: 60
  53. connect_timeout: 10
  54. auto_reconnect: true
  55. reconnect_interval: 10
  56. work_number: 1