Resolved multiple critical discovery system issues: ## Discovery System Fixes - Fixed console commands not being discovered on first run - Implemented fallback discovery for empty caches - Added context-aware caching with separate cache keys - Fixed object serialization preventing __PHP_Incomplete_Class ## Cache System Improvements - Smart caching that only caches meaningful results - Separate caches for different execution contexts (console, web, test) - Proper array serialization/deserialization for cache compatibility - Cache hit logging for debugging and monitoring ## Object Serialization Fixes - Fixed DiscoveredAttribute serialization with proper string conversion - Sanitized additional data to prevent object reference issues - Added fallback for corrupted cache entries ## Performance & Reliability - All 69 console commands properly discovered and cached - 534 total discovery items successfully cached and restored - No more __PHP_Incomplete_Class cache corruption - Improved error handling and graceful fallbacks ## Testing & Quality - Fixed code style issues across discovery components - Enhanced logging for better debugging capabilities - Improved cache validation and error recovery Ready for production deployment with stable discovery system. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
---
|
|
# Netcup Inventar für PHP-Projekt (Fixed paths)
|
|
|
|
all:
|
|
hosts:
|
|
netcup-server:
|
|
ansible_host: 94.16.110.151
|
|
ansible_user: deploy
|
|
ansible_ssh_private_key_file: /home/michael/.ssh/production
|
|
|
|
# Server-Details
|
|
domain: "test.michaelschiemer.de"
|
|
ssl_email: "kontakt@michaelschiemer.de"
|
|
|
|
# App-Konfiguration
|
|
app_name: "michaelschiemer"
|
|
app_port: 8000
|
|
|
|
# Pfad zu deinem Projekt (ABSOLUT!)
|
|
local_app_path: "/home/michael/dev/michaelschiemer" # Absoluter Pfad zu deinem Hauptprojekt
|
|
|
|
# Umgebungsvariablen für deine App (wird in .env geschrieben)
|
|
app_env:
|
|
APP_ENV: "production"
|
|
APP_DEBUG: "false"
|
|
APP_NAME: "Michael Schiemer"
|
|
APP_KEY: "base64:kJH8fsd89fs8df7sdf8sdf7sd8f7sdf"
|
|
APP_TIMEZONE: "Europe/Berlin"
|
|
APP_LOCALE: "de"
|
|
|
|
# Database (Docker internal)
|
|
DB_DRIVER: "mysql"
|
|
DB_HOST: "db"
|
|
DB_PORT: "3306"
|
|
DB_DATABASE: "michaelschiemer"
|
|
DB_USERNAME: "mdb-user"
|
|
DB_PASSWORD: "StartSimple2024!"
|
|
DB_CHARSET: "utf8mb4"
|
|
|
|
# Security
|
|
SECURITY_ALLOWED_HOSTS: "localhost,test.michaelschiemer.de,michaelschiemer.de"
|
|
SECURITY_RATE_LIMIT_PER_MINUTE: "60"
|
|
SECURITY_RATE_LIMIT_BURST: "10"
|
|
SESSION_LIFETIME: "1800"
|
|
|
|
# SSL/HTTPS
|
|
APP_SSL_PORT: "443"
|
|
FORCE_HTTPS: "true"
|
|
|
|
# Docker Settings
|
|
COMPOSE_PROJECT_NAME: "framework-production"
|
|
UID: "1000"
|
|
GID: "1000"
|
|
|
|
# Performance
|
|
OPCACHE_ENABLED: "true"
|
|
REDIS_HOST: "redis"
|
|
REDIS_PORT: "6379"
|