55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"app_name": "tsp_assistant",
|
|
"deploy_path": "/opt/tsp_assistant",
|
|
"backup_path": "./backups",
|
|
"service_name": "tsp_assistant",
|
|
"health_url": "http://localhost:5000/api/health",
|
|
"update_timeout": 300,
|
|
"rollback_enabled": true,
|
|
"auto_backup": true,
|
|
"hot_update_enabled": true,
|
|
"environments": {
|
|
"development": {
|
|
"path": "./dev_deploy",
|
|
"service_name": "",
|
|
"auto_restart": false,
|
|
"description": "开发环境"
|
|
},
|
|
"staging": {
|
|
"path": "/opt/tsp_assistant_staging",
|
|
"service_name": "tsp_assistant_staging",
|
|
"auto_restart": true,
|
|
"description": "测试环境"
|
|
},
|
|
"production": {
|
|
"path": "/opt/tsp_assistant",
|
|
"service_name": "tsp_assistant",
|
|
"auto_restart": true,
|
|
"description": "生产环境"
|
|
}
|
|
},
|
|
"hot_update_files": [
|
|
"src/web/static/js/dashboard.js",
|
|
"src/web/static/css/style.css",
|
|
"src/web/templates/dashboard.html",
|
|
"src/web/app.py",
|
|
"src/knowledge_base/knowledge_manager.py",
|
|
"src/dialogue/realtime_chat.py",
|
|
"src/agent/agent_core.py",
|
|
"src/agent/tool_manager.py"
|
|
],
|
|
"critical_files": [
|
|
"init_database.py",
|
|
"requirements.txt",
|
|
"version.json",
|
|
"src/core/models.py",
|
|
"src/core/database.py"
|
|
],
|
|
"notification": {
|
|
"enabled": true,
|
|
"webhook_url": "",
|
|
"email": "",
|
|
"slack_channel": ""
|
|
}
|
|
}
|