env.conf 852 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [base]
  2. [setting]
  3. name = 抢购程序
  4. site = http://www.dever.cc/
  5. copyright = 2017 dever.cc v1.0.0
  6. phantomjs = http://py-phantomjs:8910/
  7. [db]
  8. ;rdb = mysql
  9. rdb = postgresql
  10. [mysql]
  11. host = buy-mysql
  12. port = 5432
  13. username = root
  14. password = 123456
  15. dbname = buy
  16. prefix = demeter
  17. ;允许自动建表
  18. create = True
  19. ;定义一些tornado的配置,可为空
  20. [tornado]
  21. ;后台配置
  22. [admin]
  23. port = 8087
  24. debug = True
  25. ;请求的buffersize
  26. max_buffer_size = 210763776
  27. ;子进程
  28. process = 0
  29. ;定义后台父级菜单
  30. menu_parent = 站点设置:
  31. ;定义后台子级菜单
  32. menu_child = 站点管理:/site/site,抢购商品设置:/site/product
  33. ;cookie
  34. cookie_secret = 61oETzKXQAGaYekL5gEmGeJJFuYh7EQnp2XdTP1o/Vo=
  35. login_url = /user/login
  36. ;是否使用安全cookie
  37. xsrf_cookies = True