chore: gitignore deploy artifacts (config, pid, symlinks)
This commit is contained in:
parent
8b12cb4aff
commit
ef44700203
9
.gitignore
vendored
9
.gitignore
vendored
@ -9,3 +9,12 @@ app/__pycache__/
|
|||||||
logs/
|
logs/
|
||||||
*.pyc
|
*.pyc
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
conf/config.json
|
||||||
|
sage.pid
|
||||||
|
sage_backend.pid
|
||||||
|
start.sh
|
||||||
|
stop.sh
|
||||||
|
wwwroot/bricks
|
||||||
|
wwwroot/bugfix
|
||||||
|
wwwroot/pricing
|
||||||
|
wwwroot/supplychain
|
||||||
|
|||||||
132
conf/config.json
132
conf/config.json
@ -1,132 +0,0 @@
|
|||||||
{
|
|
||||||
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
|
|
||||||
"logopath": "$[workdir]$/conf/logo.png",
|
|
||||||
"woa_handler_id":"woa_subscribe_type",
|
|
||||||
{
|
|
||||||
"hot_reload": {
|
|
||||||
"enabled": true,
|
|
||||||
"interval": 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"logger":{
|
|
||||||
"name":"sage",
|
|
||||||
"levelname":"warning",
|
|
||||||
"logfile":"$[workdir]$/logs/sage.log"
|
|
||||||
},
|
|
||||||
"tpacs":{
|
|
||||||
"cnprod":{
|
|
||||||
"get_tpac_balance_url": "https://www.opencomputing.cn/cntoai/get_user_balance.dspy",
|
|
||||||
"tpac_accounting_url": "https://www.opencomputing.cn/cntoai/process_user_billing.dspy"
|
|
||||||
},
|
|
||||||
"ncmatchdemo":{
|
|
||||||
"get_tpac_balance_url": "https://www.ncmatch.cn/cntoai/get_user_balance.dspy",
|
|
||||||
"tpac_accounting_url": "https://www.ncmatch.cn/cntoai/process_user_billing.dspy"
|
|
||||||
},
|
|
||||||
"cndemo": {
|
|
||||||
"get_tpac_balance_url": "https://dev.opencomputing.cn/cntoai/get_user_balance.dspy",
|
|
||||||
"tpac_accounting_url": "https://dev.opencomputing.cn/cntoai/process_user_billing.dspy"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"pay":{
|
|
||||||
"alipay":{
|
|
||||||
"public_key_file":"$[workdir]$/conf/alipay/public.txt",
|
|
||||||
"private_key_file":"$[workdir]$/conf/alipay/private.txt",
|
|
||||||
"appid":"2021005111636494",
|
|
||||||
"callback":"https://sage.opencomputing.cn/api/callback/alipay"
|
|
||||||
},
|
|
||||||
"paypal":{
|
|
||||||
"mode":"sandbox",
|
|
||||||
"client_id":"myid",
|
|
||||||
"client_secret":"mysecret",
|
|
||||||
"return_url":"ret_url",
|
|
||||||
"cancel_url":"cancel_url"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"skills_path": "$[workdir]$/skills",
|
|
||||||
"filesroot":"$[workdir]$/files",
|
|
||||||
"databases":{
|
|
||||||
"sage":{
|
|
||||||
"driver":"mysql",
|
|
||||||
"kwargs":{
|
|
||||||
"user":"test",
|
|
||||||
"db":"sage",
|
|
||||||
"password":"SS+C1MDMJrslBwGzYIv3nQ==",
|
|
||||||
"charset": "utf8mb4",
|
|
||||||
"host":"db"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"zmq_url": "tcp://127.0.0.1:5555",
|
|
||||||
"website":{
|
|
||||||
"paths":[
|
|
||||||
["$[workdir]$/wwwroot",""]
|
|
||||||
],
|
|
||||||
"client_max_size":1000000000,
|
|
||||||
"host":"0.0.0.0",
|
|
||||||
"port":9080,
|
|
||||||
"coding":"utf-8",
|
|
||||||
"ssl_gg":{
|
|
||||||
"crtfile":"$[workdir]$/conf/www.bsppo.com.pem",
|
|
||||||
"keyfile":"$[workdir]$/conf/www.bsppo.com.key"
|
|
||||||
},
|
|
||||||
"indexes":[
|
|
||||||
"index.html",
|
|
||||||
"index.tmpl",
|
|
||||||
"index.ui",
|
|
||||||
"index.dspy",
|
|
||||||
"index.md"
|
|
||||||
],
|
|
||||||
"startswiths":[
|
|
||||||
{
|
|
||||||
"leading":"/idfile",
|
|
||||||
"registerfunction":"idfile"
|
|
||||||
},{
|
|
||||||
"leading":"/i18n_getmsgs",
|
|
||||||
"registerfunction":"i18n"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"processors":[
|
|
||||||
[".ws","ws"],
|
|
||||||
[".wss","ws"],
|
|
||||||
[".xterm","xterm"],
|
|
||||||
[".proxy","proxy"],
|
|
||||||
[".llm", "llm"],
|
|
||||||
[".llms", "llms"],
|
|
||||||
[".llma", "llma"],
|
|
||||||
[".xlsxds","xlsxds"],
|
|
||||||
[".sqlds","sqlds"],
|
|
||||||
[".tmpl.js","tmpl"],
|
|
||||||
[".tmpl.css","tmpl"],
|
|
||||||
[".html.tmpl","tmpl"],
|
|
||||||
[".bcrud", "bricks_crud"],
|
|
||||||
[".tmpl","tmpl"],
|
|
||||||
[".app","app"],
|
|
||||||
[".bui","bui"],
|
|
||||||
[".ui","bui"],
|
|
||||||
[".dspy","dspy"],
|
|
||||||
[".md","md"]
|
|
||||||
],
|
|
||||||
"rsakey":{
|
|
||||||
"privatekey":"$[workdir]$/conf/rsa_private_key.pem",
|
|
||||||
"publickey":"$[workdir]$/conf/rsa_public_key.pem"
|
|
||||||
},
|
|
||||||
"session_max_time":3000,
|
|
||||||
"session_issue_time":2500,
|
|
||||||
"session_redis":{
|
|
||||||
"url":"redis://127.0.0.1:6379"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"langMapping":{
|
|
||||||
"zh-Hans-CN":"zh-cn",
|
|
||||||
"zh-CN":"zh-cn",
|
|
||||||
"en-us":"en",
|
|
||||||
"en-US":"en"
|
|
||||||
},
|
|
||||||
"module_cache":{
|
|
||||||
"rbac":true,
|
|
||||||
"pricing":true,
|
|
||||||
"uapi":true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -1 +0,0 @@
|
|||||||
backend_accounting:3380343
|
|
||||||
4
start.sh
4
start.sh
@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
cd /home/hermesai/repos/sage
|
|
||||||
/home/hermesai/repos/sage/py3/bin/python /home/hermesai/repos/sage/app/sage.py -p 9180 -w /home/hermesai/repos/sage &
|
|
||||||
exit 0
|
|
||||||
@ -1 +0,0 @@
|
|||||||
../../bricks/dist
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/home/hermesai/test/bugfix/wwwroot
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/home/hermesai/repos/pricing/wwwroot
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/home/hermesai/repos/supplychain/wwwroot
|
|
||||||
Loading…
x
Reference in New Issue
Block a user