蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cfg.yml 765 B

1 month ago
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # 当前域名
  2. debug: true
  3. curldebug: true
  4. prd: false
  5. local: true
  6. # 服务器参数
  7. srv_addr: ':4001'
  8. # 缓存
  9. redis_addr: '127.0.0.1:6379'
  10. redis_password: ''
  11. db:
  12. host: '119.23.182.117:3306'
  13. name: 'egg'
  14. user: 'root'
  15. psw: 'Fnuo123com@'
  16. show_log: true
  17. max_lifetime: 30
  18. max_open_conns: 100
  19. max_idle_conns: 100
  20. path: 'tmp/%s.log'
  21. # 日志
  22. log:
  23. app_name: 'applet'
  24. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  25. is_stdout: true
  26. time_format: 'standard' # sec, second, milli, nano, standard, iso
  27. encoding: 'console'
  28. is_file_out: true
  29. file_dir: './tmp/'
  30. file_max_size: 256
  31. file_max_age: 1
  32. file_name: 'debug.log'
  33. # 连接RabbitMq
  34. mq:
  35. host: '116.62.62.35'
  36. port: '5672'
  37. user: 'zhios'
  38. pwd: 'ZHIoscnfnuo123'