修改说明
This commit is contained in:
34
deploy_config.json
Normal file
34
deploy_config.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"environment": "production",
|
||||
"app_name": "tsp_assistant",
|
||||
"deploy_path": "/opt/tsp_assistant",
|
||||
"backup_path": "./backups",
|
||||
"service_name": "tsp_assistant",
|
||||
"python_path": "python3",
|
||||
"pip_path": "pip3",
|
||||
"nginx_config": "/etc/nginx/sites-available/tsp_assistant",
|
||||
"systemd_service": "/etc/systemd/system/tsp_assistant.service",
|
||||
"database_backup": true,
|
||||
"auto_restart": true,
|
||||
"health_check_url": "http://localhost:5000/api/health",
|
||||
"environments": {
|
||||
"development": {
|
||||
"deploy_path": "./dev_deploy",
|
||||
"service_name": null,
|
||||
"auto_restart": false,
|
||||
"health_check_url": "http://localhost:5000/api/health"
|
||||
},
|
||||
"staging": {
|
||||
"deploy_path": "/opt/tsp_assistant_staging",
|
||||
"service_name": "tsp_assistant_staging",
|
||||
"auto_restart": true,
|
||||
"health_check_url": "http://staging.example.com/api/health"
|
||||
},
|
||||
"production": {
|
||||
"deploy_path": "/opt/tsp_assistant",
|
||||
"service_name": "tsp_assistant",
|
||||
"auto_restart": true,
|
||||
"health_check_url": "http://production.example.com/api/health"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user