feat: 初始化ERP平台底座项目结构
- 添加基础crate结构(erp-core, erp-common) - 实现核心模块trait和事件总线 - 配置Docker开发环境(PostgreSQL+Redis) - 添加Tauri桌面端基础框架 - 设置CI/CD工作流 - 编写项目协作规范文档(CLAUDE.md)
This commit is contained in:
19
crates/erp-server/config/default.toml
Normal file
19
crates/erp-server/config/default.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[server]
|
||||
host = "0.0.0.0"
|
||||
port = 3000
|
||||
|
||||
[database]
|
||||
url = "postgres://erp:erp_dev_2024@localhost:5432/erp"
|
||||
max_connections = 20
|
||||
min_connections = 5
|
||||
|
||||
[redis]
|
||||
url = "redis://localhost:6379"
|
||||
|
||||
[jwt]
|
||||
secret = "change-me-in-production"
|
||||
access_token_ttl = "15m"
|
||||
refresh_token_ttl = "7d"
|
||||
|
||||
[log]
|
||||
level = "info"
|
||||
Reference in New Issue
Block a user