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