fix: config — pipeline DB, remove redundant paths, add module_dbname

- DB was pointing to 'sage' instead of 'pipeline' (root cause of login 500)
- Removed extra path entries that conflict with wwwroot symlinks
- Added module_dbname mapping for all pipeline modules
This commit is contained in:
yumoqing 2026-07-08 18:36:57 +08:00
parent d615a9ed0c
commit 8bbba45564

View File

@ -14,59 +14,29 @@
"port": 3306,
"user": "test",
"password": "sOuj6f6r8K0b8ax9K+JxPQ==",
"db": "sage",
"charset": "utf8mb4"
}
},
"sage": {
"driver": "aiosqlor",
"kwargs": {
"host": "127.0.0.1",
"port": 3306,
"user": "test",
"password": "sOuj6f6r8K0b8ax9K+JxPQ==",
"db": "sage",
"db": "pipeline",
"charset": "utf8mb4"
}
}
},
"module_dbname": {
"rbac": "pipeline",
"appbase": "pipeline",
"pipeline_core": "pipeline",
"pipeline_ops": "pipeline",
"pipeline_dist": "pipeline",
"pipeline_sdlc": "pipeline",
"showcase": "pipeline"
},
"website": {
"port": 9090,
"paths": [
[
"$[workdir]$/wwwroot",
""
],
[
"$[workdir]$/pkgs/bricks/dist",
"/bricks"
],
[
"$[workdir]$/pkgs/rbac/wwwroot",
"/rbac"
],
[
"$[workdir]$/pkgs/appbase/wwwroot",
"/appbase"
],
[
"$[workdir]$/pkgs/pipeline-sdlc/wwwroot",
"/pipeline_sdlc"
]
["$[workdir]$/wwwroot", ""]
],
"processors": [
[
".dspy",
"dspy"
],
[
".ui",
"bui"
],
[
".tmpl",
"tmpl"
]
[".dspy", "dspy"],
[".ui", "bui"],
[".tmpl", "tmpl"]
],
"session_redis": {
"url": "redis://127.0.0.1:6379/3"
@ -74,10 +44,7 @@
"session_max_time": 3600,
"session_issue_time": 1800,
"client_max_size": 10485760,
"indexes": [
"index.ui",
"index.html"
]
"indexes": ["index.ui", "index.html"]
},
"SAGE_RBAC_DB": "pipeline"
}