dootask/config/dootask.php
2026-08-13 02:38:01 +00:00

62 lines
2.6 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
// 系统设置开关:设为 'disabled' 时禁止通过接口修改系统设置SystemController
'system_setting' => env('SYSTEM_SETTING'),
// 许可证显示开关:设为 'hidden' 时隐藏系统许可证信息Doo::license
'system_license' => env('SYSTEM_LICENSE'),
// 演示账号登录页展示的演示账号SystemController::demo
'demo_account' => env('DEMO_ACCOUNT'),
// 演示密码登录页展示的演示账号密码SystemController::demo
'demo_password' => env('DEMO_PASSWORD'),
// 管理员密码修改开关:设为 'disabled' 时禁止修改管理员密码User 模型)
'password_admin' => env('PASSWORD_ADMIN'),
// 创始人密码修改开关:设为 'disabled' 时禁止修改创始人密码User 模型)
'password_owner' => env('PASSWORD_OWNER'),
// Manticore 全文搜索服务主机ManticoreBase
'search_host' => env('SEARCH_HOST', 'search'),
// Manticore 全文搜索服务端口ManticoreBase
'search_port' => env('SEARCH_PORT', 9306),
// AI 插件服务主机AI::getEmbedding 走 ai 插件 /embeddings 免费向量模型)
'ai_host' => env('AI_HOST', 'ai'),
// AI 插件服务端口AI::getEmbedding
'ai_port' => env('AI_PORT', 5001),
// 文件回收站自动清空天数DeleteTmpTask
'auto_empty_file_recycle' => env('AUTO_EMPTY_FILE_RECYCLE', 365),
// 临时文件自动清理天数DeleteTmpTask
'auto_empty_temp_file' => env('AUTO_EMPTY_TEMP_FILE', 30),
// WebDAV 协议硬限制;用户可配置值不能超过这里的上限
'webdav' => [
'max_file_bytes' => 1024 * 1024 * 1024,
'lock_timeout_seconds' => 1800,
'lock_max_timeout_seconds' => 7200,
],
// 在线授权appstore 授权中心地址OnlineLicense默认中央测试可指向 dev appstore
// [调试中] 临时指向本地 dev appstore发版前改回 'https://appstore.dootask.com'
'online_license_appstore_url' => env('ONLINE_LICENSE_APPSTORE_URL', 'https://appstore.dootask.com'),
// 在线授权租约剩余不足该天数时触发续期OnlineLicense
'online_license_renew_within_days' => env('ONLINE_LICENSE_RENEW_WITHIN_DAYS', 20),
// 在线授权租约剩余不足该天数时在提醒OnlineLicense
'online_license_warn_days' => env('ONLINE_LICENSE_WARN_DAYS', 7),
// 在线授权冻结租约过期后到吊销的宽限天数OnlineLicense
'online_license_grace_days' => env('ONLINE_LICENSE_GRACE_DAYS', 14),
];