.env.server.example 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #应用名字,应改成当前项目名字
  2. APP_NAME=aix
  3. #当前环境,local:本地环境,production:生产环境
  4. APP_ENV=local
  5. #是否开启调试
  6. APP_DEBUG=true
  7. #日志记录等级:error,warning,notice,info,debug
  8. APP_LOG_LEVEL=debug
  9. #随机字符串,用于加解密
  10. APP_KEY=base64:PftYc2XepUh2E3AtRKVW47ekn26UuTi+5xdXjjOthn0=
  11. #应用域名
  12. APP_URL=http://91caiqing.com
  13. #后台地址前缀
  14. ADMIN_PREFIX=admin
  15. #laravel debug bar 调试条
  16. DEBUGBAR_ENABLED=true
  17. #laravelS配置
  18. LARAVELS_LISTEN_IP=0.0.0.0
  19. LARAVELS_LISTEN_PORT=5200
  20. #数据库配置
  21. DB_CONNECTION=mysql
  22. DB_HOST=mysql
  23. DB_PORT=3306
  24. DB_DATABASE=aixsys
  25. DB_USERNAME=root
  26. DB_PASSWORD=root
  27. #迁移数据库配置
  28. DB_HOST_CENTER=mysql
  29. DB_PORT_CENTER=3306
  30. DB_DATABASE_CENTER=aixsys
  31. DB_USERNAME_CENTER=root
  32. DB_PASSWORD_CENTER=root
  33. #redis配置
  34. REDIS_HOST=redis
  35. REDIS_PASSWORD=null
  36. REDIS_PORT=6379
  37. #缓存配置
  38. CACHE_DRIVER=redis
  39. #session配置
  40. SESSION_DRIVER=file
  41. SESSION_LIFETIME=120
  42. #session保存位置,如果有分站的话必须设置,与APP_URL相同
  43. SESSION_DOMAIN=.91caiqing.com
  44. #队列配置:异步队列:redis,同步队列:sync
  45. QUEUE_DRIVER=redis
  46. #邮件,账号通过后台配置.
  47. MAIL_DRIVER=smtp
  48. #MAIL_HOST=smtp.163.com
  49. MAIL_PORT=465
  50. #MAIL_USERNAME=15651907213@163.com
  51. #MAIL_FROM_ADDRESS=15651907213@163.com
  52. #MAIL_PASSWORD=123jGBDVHW
  53. MAIL_ENCRYPTION=ssl
  54. #搜索
  55. SCOUT_DRIVER=elasticsearch
  56. SCOUT_QUEUE=false
  57. ELASTICSEARCH_HOST=elasticsearch
  58. ELASTICSEARCH_PORT=9200
  59. ELASTICSEARCH_SCHEME=http
  60. ELASTICSEARCH_USER=elastic
  61. ELASTICSEARCH_PASS=changeme
  62. #索引前缀
  63. #ELASTICSEARCH_INDEX_PREFIX='aix_'
  64. #推送(暂时无用)
  65. PUSHER_APP_ID=
  66. PUSHER_APP_KEY=
  67. PUSHER_APP_SECRET=
  68. PUSHER_APP_CLUSTER=mt1
  69. #广播(暂时无用)
  70. BROADCAST_DRIVER=log