From cc96aba0fd4c7ad697b8e389aee634e972e26e8e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 25 Jun 2026 14:30:12 +0800 Subject: [PATCH] fix: sync config.json with production settings - driver: mysql -> aiosqlor - password: encrypted - Add sage database, session_redis, indexes, SAGE_RBAC_DB --- conf/config.json | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 conf/config.json diff --git a/conf/config.json b/conf/config.json new file mode 100644 index 0000000..7741663 --- /dev/null +++ b/conf/config.json @@ -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" +}