- ahserver web app on port 9190 - DB: rag (test/test123, utf8mb4) - 7 data models: knowledge_bases, documents, document_chunks, entities, entity_relations, subscriptions, engine_configs, usage_logs - 4 CRUD definitions: knowledge_bases, documents, subscriptions, engine_configs - build.sh clones all foundation modules + rag-pipeline + services - independent venv, bricks frontend, RBAC support
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"password_key": "RagServer2026Key",
|
|
"databases": {
|
|
"rag": {
|
|
"driver": "mysql+aiomysql",
|
|
"kwargs": {
|
|
"host": "db",
|
|
"port": 3306,
|
|
"user": "test",
|
|
"password": "test123",
|
|
"db": "rag",
|
|
"charset": "utf8mb4",
|
|
"minsize": 2,
|
|
"maxsize": 10
|
|
}
|
|
}
|
|
},
|
|
"SAGE_RBAC_DB": "rag",
|
|
"session_redis": {
|
|
"host": "127.0.0.1",
|
|
"port": 6379,
|
|
"db": 1
|
|
},
|
|
"logger": {
|
|
"name": "ragserver",
|
|
"levelname": "info",
|
|
"logfile": "$[workdir]$/logs/ragserver.log"
|
|
},
|
|
"filesroot": "$[workdir]$/files",
|
|
"website": {
|
|
"paths": [
|
|
["$[workdir]$/wwwroot", ""]
|
|
],
|
|
"client_max_size": 524288000,
|
|
"host": "0.0.0.0",
|
|
"port": 9190,
|
|
"coding": "utf-8",
|
|
"indexes": [
|
|
"index.ui",
|
|
"index.html"
|
|
],
|
|
"processors": [
|
|
[".wss", "ws"],
|
|
[".ws", "ws"],
|
|
[".ui", "bui"],
|
|
[".dspy", "dspy"],
|
|
[".md", "md"]
|
|
],
|
|
"startswiths": [
|
|
{"leading": "/idfile", "registerfunction": "idfile"}
|
|
]
|
|
},
|
|
"hot_reload": true
|
|
}
|