- 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
107 lines
3.1 KiB
Plaintext
107 lines
3.1 KiB
Plaintext
# Projektname für Docker Compose
|
|
COMPOSE_PROJECT_NAME=michaelschiemer
|
|
# Anwendungseinstellungen
|
|
APP_ENV=development
|
|
APP_DEBUG=true
|
|
|
|
# API-Konfiguration
|
|
# SECURITY: Replace with your actual RapidMail credentials
|
|
RAPIDMAIL_USERNAME=your_rapidmail_username_here
|
|
RAPIDMAIL_PASSWORD=your_rapidmail_password_here
|
|
RAPIDMAIL_DEFAULT_LIST_ID=your_list_id_here
|
|
|
|
# Shopify API-Konfiguration
|
|
# SECURITY: Replace with your actual Shopify credentials
|
|
SHOPIFY_SHOP_DOMAIN=yourstore.myshopify.com
|
|
SHOPIFY_ACCESS_TOKEN=shpat_your_access_token_here
|
|
SHOPIFY_API_VERSION=2024-04
|
|
|
|
# PostgreSQL Datenbank-Konfiguration
|
|
# SECURITY: Replace with your actual database credentials
|
|
DB_DRIVER=pgsql
|
|
DB_HOST=db
|
|
DB_PORT=5432
|
|
DB_DATABASE=michaelschiemer
|
|
DB_USERNAME=postgres
|
|
DB_PASSWORD=your_secure_database_password_here
|
|
DB_CHARSET=utf8
|
|
DB_SCHEMA=public
|
|
|
|
# PostgreSQL Connection Pooling (optional)
|
|
DB_POOL_MIN=2
|
|
DB_POOL_MAX=10
|
|
|
|
# Redis-Konfiguration (falls benötigt)
|
|
# REDIS_HOST=redis
|
|
# REDIS_PORT=6379
|
|
# REDIS_PASSWORD=null
|
|
# Externer Port für Web-Zugriff
|
|
APP_PORT=8000
|
|
|
|
# PHP-Version (für Build)
|
|
PHP_VERSION=8.4
|
|
# Redis Konfiguration
|
|
REDIS_SCHEME=tcp
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|
|
# Rate Limiting Konfiguration
|
|
RATE_LIMIT_DEFAULT=60
|
|
RATE_LIMIT_WINDOW=60
|
|
RATE_LIMIT_AUTH=10
|
|
RATE_LIMIT_AUTH_WINDOW=300
|
|
RATE_LIMIT_API=30
|
|
RATE_LIMIT_API_WINDOW=60
|
|
|
|
# N+1 Detection Machine Learning Konfiguration
|
|
NPLUSONE_ML_ENABLED=true
|
|
NPLUSONE_ML_TIMEOUT_MS=5000
|
|
NPLUSONE_ML_CONFIDENCE_THRESHOLD=60.0
|
|
|
|
# OAuth Provider Konfiguration
|
|
APP_URL=https://localhost
|
|
|
|
# Spotify OAuth
|
|
SPOTIFY_CLIENT_ID=your_spotify_client_id
|
|
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
|
|
SPOTIFY_REDIRECT_URI=https://localhost/oauth/spotify/callback
|
|
|
|
# Apple Music OAuth
|
|
APPLE_MUSIC_CLIENT_ID=your_apple_music_client_id
|
|
APPLE_MUSIC_TEAM_ID=your_apple_music_team_id
|
|
APPLE_MUSIC_KEY_ID=your_apple_music_key_id
|
|
APPLE_MUSIC_PRIVATE_KEY=your_apple_music_private_key_path_or_content
|
|
APPLE_MUSIC_REDIRECT_URI=https://localhost/oauth/apple-music/callback
|
|
|
|
# Tidal OAuth
|
|
TIDAL_CLIENT_ID=your_tidal_client_id
|
|
TIDAL_CLIENT_SECRET=your_tidal_client_secret
|
|
TIDAL_REDIRECT_URI=https://localhost/oauth/tidal/callback
|
|
|
|
# Vault Configuration
|
|
# Generate with: php console.php vault:generate-key
|
|
# VAULT_ENCRYPTION_KEY=base64_encoded_key_here
|
|
|
|
# Filesystem Performance (caching enabled by default)
|
|
# Set to true only for debugging performance issues
|
|
# 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 |