env.conf 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [base]
  2. ;开发环境配置
  3. [setting]
  4. name = DM运维管理系统
  5. site = http://www.dever.cc/
  6. copyright = 2018 dever.cc v1.0.0
  7. ;打印路由表
  8. route = True
  9. [db]
  10. rdb = mysql
  11. [mysql]
  12. host = daemon-mysql
  13. port = 3309
  14. username = root
  15. password = 123456
  16. dbname = dm
  17. prefix = dm
  18. charset = utf8
  19. ;允许自动建表
  20. create = True
  21. ;定义一些tornado的配置,可为空
  22. [tornado]
  23. ;后台配置
  24. [admin]
  25. port = 8087
  26. debug = True
  27. ;请求的buffersize
  28. max_buffer_size = 210763776
  29. ;子进程
  30. process = 0
  31. ;定义后台父级菜单
  32. menu_parent = 资源管理:,代码管理:
  33. ;定义后台子级菜单
  34. menu_child = 域管理:/server/domain,节点管理:/server/node,镜像分类管理:/server/category,镜像管理:/server/images,容器分组管理:/server/group,容器管理:/server/container;项目管理:/deploy/project,提交代码:/deploy/submit
  35. ;;,进程管理:&#xe62e
  36. ;进程管理:/process/process;
  37. ;cookie
  38. cookie_secret = 61oETzKXQAGaYekL5gEmGeJJFuYh7EQnp2XdTP1o/Vo=
  39. login_url = /user/login
  40. ;是否使用安全cookie
  41. xsrf_cookies = True
  42. ;上线的路径
  43. git_path = /data/dm/container/share/lib/web/
  44. online_path = /data/dm/container/web/
  45. ;前台配置
  46. [front]
  47. port = 8088
  48. debug = True
  49. ;请求的buffersize
  50. max_buffer_size = 210763776
  51. ;子进程
  52. process = 0
  53. ;支持手机版
  54. mobile = True