35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|