mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-10-27 17:03:49 +08:00
ARTEX — AI 自主渗透测试系统(Go 后端 + Next.js 前端,单二进制内嵌)。 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
24 lines
1.1 KiB
JSON
24 lines
1.1 KiB
JSON
{
|
|
"_comment": "复制为 config.json(或用环境变量 ARTEX_CONFIG 指定其它路径)。本文件仅含 database 与 skill_dir 两项;LLM 等其余配置走环境变量或应用内设置,不在此文件。",
|
|
|
|
"_comment_database": "PostgreSQL 连接。优先级:环境变量 ARTEX_PG_DSN > 本文件 database。两种写法二选一:(A) 填下面的分字段;(B) 只填 database.dsn 一个完整连接串。",
|
|
"database": {
|
|
"host": "127.0.0.1",
|
|
"port": 5433,
|
|
"user": "artex",
|
|
"password": "",
|
|
"dbname": "artex",
|
|
"sslmode": "disable"
|
|
},
|
|
|
|
"_comment_database_dsn": "写法 (B):删掉上面的 database,改用完整 DSN。dsn 非空时会忽略分字段。",
|
|
"_example_database_dsn": {
|
|
"database": {
|
|
"dsn": "postgres://user:[email protected]:5432/artex?sslmode=require"
|
|
}
|
|
},
|
|
|
|
"_comment_skill_dir": "skill 根目录(每个子目录一个 skill,含 SKILL.md)。优先级:环境变量 ARTEX_SKILL_DIR > 本字段 > 默认(可执行文件同级的 skills/)。留空或删除本字段即用默认。相对路径相对当前工作目录解析。",
|
|
"skill_dir": "/opt/artex/skills"
|
|
}
|