fix: sync config.json with production settings
- driver: mysql -> aiosqlor - password: encrypted - Add sage database, session_redis, indexes, SAGE_RBAC_DB
This commit is contained in:
parent
f767f22717
commit
cc96aba0fd
83
conf/config.json
Normal file
83
conf/config.json
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
"password_key": "QRIVSRHrthhwyjy176556332",
|
||||||
|
"logger": {
|
||||||
|
"name": "pipeline-app",
|
||||||
|
"level": "info",
|
||||||
|
"file": "$[workdir]$/logs/app.log"
|
||||||
|
},
|
||||||
|
"filesroot": "$[workdir]$/files",
|
||||||
|
"databases": {
|
||||||
|
"pipeline": {
|
||||||
|
"driver": "aiosqlor",
|
||||||
|
"kwargs": {
|
||||||
|
"host": "127.0.0.1",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "hermes",
|
||||||
|
"password": "hTk87ujLrxZeoMcD2Rlwbg==",
|
||||||
|
"db": "pipeline",
|
||||||
|
"charset": "utf8mb4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sage": {
|
||||||
|
"driver": "aiosqlor",
|
||||||
|
"kwargs": {
|
||||||
|
"host": "127.0.0.1",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "hermes",
|
||||||
|
"password": "hTk87ujLrxZeoMcD2Rlwbg==",
|
||||||
|
"db": "sage",
|
||||||
|
"charset": "utf8mb4"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"website": {
|
||||||
|
"port": 9090,
|
||||||
|
"paths": [
|
||||||
|
[
|
||||||
|
"$[workdir]$/wwwroot",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"$[workdir]$/pkgs/bricks/dist",
|
||||||
|
"/bricks"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"$[workdir]$/pkgs/rbac/wwwroot",
|
||||||
|
"/rbac"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"$[workdir]$/pkgs/appbase/wwwroot",
|
||||||
|
"/appbase"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"/home/hermesai/repos/pipeline-sdlc/wwwroot",
|
||||||
|
"/pipeline_sdlc"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"processors": [
|
||||||
|
[
|
||||||
|
".dspy",
|
||||||
|
"dspy"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
".ui",
|
||||||
|
"bui"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
".tmpl",
|
||||||
|
"tmpl"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"session_redis": {
|
||||||
|
"url": "redis://127.0.0.1:6379/3"
|
||||||
|
},
|
||||||
|
"session_max_time": 3600,
|
||||||
|
"session_issue_time": 1800,
|
||||||
|
"client_max_size": 10485760,
|
||||||
|
"indexes": [
|
||||||
|
"index.ui",
|
||||||
|
"index.html"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"SAGE_RBAC_DB": "pipeline"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user