WorkLog initial import

This commit is contained in:
2026-10-29 16:27:34 +08:00
commit bc62f11230
19 changed files with 3774 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# 复制为 .env 后按需修改(.env 不入库)
WORKLOG_HOST=127.0.0.1
WORKLOG_PORT=37777
WORKLOG_DB=./data/worklog.db
WORKLOG_SESSION_DAYS=30
WORKLOG_DEV_MODE=false
# 外网部署必填:邮件链接只使用此配置,不读取客户端 Host/代理头
# WORKLOG_BASE_URL=https://worklog.example.com
# 邮箱验证码 SMTP(缺少配置时拒绝发码;本机调试需显式启用 DEV_MODE 并绑定 127.0.0.1)
# WORKLOG_SMTP_HOST=smtp.qq.com
# WORKLOG_SMTP_PORT=465
# WORKLOG_SMTP_USER=notify@example.com
# WORKLOG_SMTP_PASSWORD=授权码
# WORKLOG_SMTP_FROM=WorkLog <notify@example.com>
# WORKLOG_SMTP_TLS=ssl
# WORKLOG_EMAIL_CODE_TTL_MIN=10