graph-service/conf/config.json

34 lines
1.3 KiB
JSON

{
"password_key": "GraphService2026Key",
"filesroot": "$[workdir]$/files",
"logger": {
"name": "graph-service",
"levelname": "info",
"logfile": "$[workdir]$/logs/graph-service.log"
},
"website": {
"paths": [["$[workdir]$/wwwroot", ""]],
"client_max_size": 52428800,
"host": "0.0.0.0",
"port": 9092,
"coding": "utf-8",
"indexes": ["index.html"],
"startswiths": [
{"leading": "/api/status", "registerfunction": "status"},
{"leading": "/api/debug", "registerfunction": "debug"},
{"leading": "/api/graph/add_node", "registerfunction": "add_node"},
{"leading": "/api/graph/add_edge", "registerfunction": "add_edge"},
{"leading": "/api/graph/neighbors", "registerfunction": "neighbors"},
{"leading": "/api/graph/path", "registerfunction": "path"},
{"leading": "/api/graph/query", "registerfunction": "query"},
{"leading": "/api/graph/stats", "registerfunction": "stats"},
{"leading": "/api/graph/save", "registerfunction": "save"},
{"leading": "/api/graph/load", "registerfunction": "load"}
],
"processors": [
[".tmpl", "tmpl"], [".app", "app"], [".ui", "bui"],
[".dspy", "dspy"], [".md", "md"]
]
}
}