智盟项目
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

55 rindas
1.0 KiB

  1. # 当前域名
  2. debug: true
  3. curldebug: true
  4. prd: false
  5. local: true
  6. # 服务器参数
  7. srv_addr: ':5600'
  8. # 缓存
  9. redis_addr: '120.24.28.6:32572'
  10. app_comm:
  11. # 本模块外网地址
  12. outer_url: http://127.0.0.1:5003
  13. # 连接官网数据库获取db mapping
  14. db:
  15. host: '47.108.198.174:3306'
  16. name: 'one_item_one_code'
  17. user: 'root'
  18. psw: 'sanhu'
  19. show_log: true
  20. max_lifetime: 30
  21. max_open_conns: 100
  22. max_idle_conns: 100
  23. path: 'tmp/%s.log'
  24. zhimeng_db:
  25. host: '119.23.182.117:3306'
  26. name: 'zhi_meng'
  27. user: 'root'
  28. psw: 'Fnuo123com@'
  29. show_log: true
  30. max_lifetime: 30
  31. max_open_conns: 100
  32. max_idle_conns: 100
  33. path: 'tmp/%s.log'
  34. # 日志
  35. log:
  36. app_name: 'applet'
  37. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  38. is_stdout: true
  39. time_format: 'standard' # sec, second, milli, nano, standard, iso
  40. encoding: 'console'
  41. is_file_out: true
  42. file_dir: './tmp/'
  43. file_max_size: 256
  44. file_max_age: 1
  45. file_name: 'debug.log'
  46. # 连接ElasticSearch
  47. es:
  48. url: 'http://120.55.48.175:9200'
  49. user: 'elastic'
  50. pwd: 'fnuo123'