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:
parent
d615a9ed0c
commit
8bbba45564
@ -14,59 +14,29 @@
|
|||||||
"port": 3306,
|
"port": 3306,
|
||||||
"user": "test",
|
"user": "test",
|
||||||
"password": "sOuj6f6r8K0b8ax9K+JxPQ==",
|
"password": "sOuj6f6r8K0b8ax9K+JxPQ==",
|
||||||
"db": "sage",
|
"db": "pipeline",
|
||||||
"charset": "utf8mb4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sage": {
|
|
||||||
"driver": "aiosqlor",
|
|
||||||
"kwargs": {
|
|
||||||
"host": "127.0.0.1",
|
|
||||||
"port": 3306,
|
|
||||||
"user": "test",
|
|
||||||
"password": "sOuj6f6r8K0b8ax9K+JxPQ==",
|
|
||||||
"db": "sage",
|
|
||||||
"charset": "utf8mb4"
|
"charset": "utf8mb4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"module_dbname": {
|
||||||
|
"rbac": "pipeline",
|
||||||
|
"appbase": "pipeline",
|
||||||
|
"pipeline_core": "pipeline",
|
||||||
|
"pipeline_ops": "pipeline",
|
||||||
|
"pipeline_dist": "pipeline",
|
||||||
|
"pipeline_sdlc": "pipeline",
|
||||||
|
"showcase": "pipeline"
|
||||||
|
},
|
||||||
"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"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user