.env.dev 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. APP_NAME=Laravel
  2. #上线时需要改成prod
  3. APP_ENV=local
  4. APP_KEY=base64:bdomFa+r6S774rRyFNeb4pCBxVe4WbuzAzk+LyP86+k=
  5. #上线时需要改成false
  6. APP_DEBUG=true
  7. #后台网站根域名,暂时未用到
  8. APP_URL=http://localhost
  9. #是否https
  10. ADMIN_HTTPS=false
  11. #以下不用改
  12. LOG_CHANNEL=stack
  13. LOG_DEPRECATIONS_CHANNEL=null
  14. LOG_LEVEL=debug
  15. #数据库配置
  16. DB_CONNECTION=mysql
  17. DB_HOST=192.168.2.52
  18. DB_PORT=3306
  19. DB_DATABASE=dcatplus_album
  20. DB_USERNAME=dcatadmin_dev
  21. DB_PASSWORD=123456
  22. #以下不用改
  23. BROADCAST_DRIVER=log
  24. CACHE_DRIVER=file
  25. FILESYSTEM_DISK=local
  26. QUEUE_CONNECTION=sync
  27. SESSION_DRIVER=file
  28. SESSION_LIFETIME=120
  29. #memcached未用到
  30. MEMCACHED_HOST=127.0.0.1
  31. #redis未用到
  32. REDIS_HOST=127.0.0.1
  33. REDIS_PASSWORD=null
  34. REDIS_PORT=6379
  35. MAIL_MAILER=smtp
  36. MAIL_HOST=mailpit
  37. MAIL_PORT=1025
  38. MAIL_USERNAME=null
  39. MAIL_PASSWORD=null
  40. MAIL_ENCRYPTION=null
  41. MAIL_FROM_ADDRESS="hello@example.com"
  42. MAIL_FROM_NAME="${APP_NAME}"
  43. #以下不用改
  44. AWS_ACCESS_KEY_ID=
  45. AWS_SECRET_ACCESS_KEY=
  46. AWS_DEFAULT_REGION=us-east-1
  47. AWS_BUCKET=
  48. AWS_USE_PATH_STYLE_ENDPOINT=false
  49. PUSHER_APP_ID=
  50. PUSHER_APP_KEY=
  51. PUSHER_APP_SECRET=
  52. PUSHER_HOST=
  53. PUSHER_PORT=443
  54. PUSHER_SCHEME=https
  55. PUSHER_APP_CLUSTER=mt1
  56. VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
  57. VITE_PUSHER_HOST="${PUSHER_HOST}"
  58. VITE_PUSHER_PORT="${PUSHER_PORT}"
  59. VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
  60. VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
  61. # 阿里云OSS配置
  62. OSS_ACCESS_KEY_ID=LTAI5tCYd6zdBrSN9W9hZRUd
  63. OSS_ACCESS_KEY_SECRET=q0pp2qlDXdxi490qMDbDuWBd7SPMNn
  64. OSS_BUCKET=mietubl-dev
  65. OSS_ENDPOINT=oss-cn-hongkong.aliyuncs.com
  66. #内网上传,上线时开
  67. #OSS_INTERNAL=oss-cn-hongkong-internal.aliyuncs.com
  68. #加速域名,上线时开
  69. #OSS_DOMAIN=mietubl-dev.oss-accelerate.aliyuncs.com
  70. #视频预览OSS配置
  71. PREVIEW_OSS_URL=https://mietublcom.oss-cn-hongkong.aliyuncs.com
  72. #视频预览OSS配置,内网上传,上线时开
  73. #PREVIEW_OSS_URL_INTERNAL=https://mietublcom.oss-cn-hongkong-internal.aliyuncs.com