feat(Deployment): Integrate Ansible deployment via PHP deployment pipeline
- Create AnsibleDeployStage using framework's Process module for secure command execution - Integrate AnsibleDeployStage into DeploymentPipelineCommands for production deployments - Add force_deploy flag support in Ansible playbook to override stale locks - Use PHP deployment module as orchestrator (php console.php deploy:production) - Fix ErrorAggregationInitializer to use Environment class instead of $_ENV superglobal Architecture: - BuildStage → AnsibleDeployStage → HealthCheckStage for production - Process module provides timeout, error handling, and output capture - Ansible playbook supports rollback via rollback-git-based.yml - Zero-downtime deployments with health checks
This commit is contained in:
22
.env.example
22
.env.example
@@ -84,4 +84,24 @@ TIDAL_REDIRECT_URI=https://localhost/oauth/tidal/callback
|
||||
|
||||
# Filesystem Performance (caching enabled by default)
|
||||
# Set to true only for debugging performance issues
|
||||
# FILESYSTEM_DISABLE_CACHE=false
|
||||
# FILESYSTEM_DISABLE_CACHE=false
|
||||
|
||||
# ML Model Management Configuration (optional - defaults in MLConfig class)
|
||||
# ML_MONITORING_ENABLED=true
|
||||
# ML_DRIFT_THRESHOLD=0.15
|
||||
# ML_PERFORMANCE_WINDOW_HOURS=24
|
||||
# ML_AUTO_TUNING_ENABLED=false
|
||||
# ML_PREDICTION_CACHE_TTL=3600
|
||||
# ML_MODEL_CACHE_TTL=7200
|
||||
# ML_BASELINE_UPDATE_INTERVAL=86400
|
||||
# ML_MIN_PREDICTIONS_FOR_DRIFT=100
|
||||
# ML_CONFIDENCE_ALERT_THRESHOLD=0.65
|
||||
# ML_ACCURACY_ALERT_THRESHOLD=0.75
|
||||
|
||||
# WhatsApp Business API Configuration
|
||||
# SECURITY: Replace with your actual WhatsApp Business API credentials
|
||||
# Get credentials from: https://business.facebook.com/settings/whatsapp-business-accounts
|
||||
WHATSAPP_ACCESS_TOKEN=your_whatsapp_access_token_here
|
||||
WHATSAPP_PHONE_NUMBER_ID=107051338692505
|
||||
WHATSAPP_BUSINESS_ACCOUNT_ID=your_business_account_id_here
|
||||
WHATSAPP_API_VERSION=v18.0
|
||||
Reference in New Issue
Block a user