hr-system/conf/config.json

49 lines
1.3 KiB
JSON
Raw 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.

{
"_comment": "hr-web 运行配置测试环境。T02b 变更:服务端口 9182→9280客户确认见 docs/部署环境需求.mddatabases.hrs 按测试环境本机 MariaDBRedis 会话配置确认沿用。",
"server": {
"host": "0.0.0.0",
"port": 9280,
"name": "hr-web"
},
"processors": {
".tmpl": "bricks.processor.tmpl",
".ui": "bricks.processor.ui",
".dspy": "ahserver.processor.dspy"
},
"databases": {
"hrs": {
"type": "mysql",
"host": "127.0.0.1",
"port": 3306,
"database": "hrs",
"user": "test",
"password": "test123",
"charset": "utf8mb4",
"pool_size": 10,
"pool_recycle": 3600,
"_comment": "测试环境 MariaDB 本机监听V001__init_hrs.sql49表已在测试库执行"
}
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"db": 0,
"session": {
"enabled": true,
"session_max_time": 28800,
"session_issue_time": 86400,
"prefix": "hrweb:sess:"
},
"_comment": "Redis 会话session_max_time=8h 会话有效期session_issue_time=24h 签发有效期,与基线口径一致"
},
"log": {
"level": "INFO",
"file": "logs/hr-web.log",
"max_size_mb": 50,
"backup_count": 10
},
"static": {
"path": "static"
}
}