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>
92 lines
2.3 KiB
YAML
92 lines
2.3 KiB
YAML
# Basis-Konfiguration
|
|
app_name: michaelschiemer
|
|
app_domain: test.michaelschiemer.de
|
|
app_email: kontakt@michaelschiemer.de
|
|
|
|
# Verzeichnisse
|
|
project_root: "{{ playbook_dir | dirname }}"
|
|
app_root: /var/www/{{ app_name }}
|
|
app_public: "{{ app_root }}/public"
|
|
|
|
# Docker
|
|
docker_version: "20.10"
|
|
docker_compose_version: "2.24.5"
|
|
|
|
# Benutzer
|
|
deploy_user: deploy
|
|
|
|
# Let's Encrypt
|
|
letsencrypt_enabled: true
|
|
letsencrypt_certbot_method: webroot # oder standalone oder nginx
|
|
|
|
|
|
#netcup_customer_id: "218722"
|
|
#netcup_api_key: "dmJINUMyNjRmOG1aNDViajZHN2JkOTFRUjU3ckE5ZjJ1Zm1vUz"
|
|
#netcup_api_password: "iGWL8Hl4m93DgESsP/MPXmtDd0hEVkZ3480Na0psTlXRALnopl"
|
|
#netcup_vserver_id: "v2202309206672239295"
|
|
|
|
|
|
# fallback_ip:
|
|
|
|
wg_all_clients_private_keys:
|
|
michael: "PITbFZ3UfY5vD5dYUCELO37Qo2W8I4R8+r6D9CeMrm4="
|
|
---
|
|
# Allgemeine Variablen für alle Hosts
|
|
---
|
|
# Globale Variablen für alle Umgebungen
|
|
|
|
# Docker-Konfiguration
|
|
docker_compose_version: "1.29.2"
|
|
|
|
# Nginx-Konfiguration
|
|
nginx_worker_processes: auto
|
|
nginx_worker_connections: 1024
|
|
|
|
# Verwendeter PHP-Container
|
|
php_version: "8.1"
|
|
|
|
# Allgemeine Anwendungsvariablen
|
|
app_name: "michaelschiemer"
|
|
app_env: "production"
|
|
# Docker-Einstellungen
|
|
docker_version: "20.10"
|
|
docker_compose_version: "2.24.5"
|
|
docker_install_compose: true
|
|
docker_user: "{{ ansible_user | default('deploy') }}"
|
|
|
|
# Deployment-Verzeichnisse
|
|
deploy_root: /var/www/michaelschiemer
|
|
deploy_public: "{{ deploy_root }}/public"
|
|
docker_compose_project_path: "{{ deploy_root }}"
|
|
|
|
# Anwendungsvariablen
|
|
project_root: "{{ playbook_dir }}/../.."
|
|
project_source: "{{ playbook_dir }}/../.."
|
|
app_domain: "{{ hostvars[inventory_hostname]['ansible_host'] | default(inventory_hostname) }}"
|
|
---
|
|
# Variablen für alle Gruppen
|
|
|
|
# Standardwerte für Deployment
|
|
deploy_root: /var/www/michaelschiemer
|
|
deploy_public: "{{ deploy_root }}/public"
|
|
deploy_user: "{{ ansible_user | default('deploy') }}"
|
|
|
|
# Projektpfade
|
|
project_source: "{{ playbook_dir }}/../.."
|
|
project_root: "{{ playbook_dir }}/../.."
|
|
|
|
# Docker-Konfiguration
|
|
docker_compose_project_path: "{{ deploy_root }}"
|
|
|
|
# Standard-Domain (wird normalerweise durch umgebungsspezifische Variablen überschrieben)
|
|
app_domain: "localhost"
|
|
|
|
# Standard Nginx-Konfiguration
|
|
nginx_worker_processes: "auto"
|
|
nginx_worker_connections: 1024
|
|
|
|
wireguard_clients:
|
|
- name: michael
|
|
address: 10.8.0.2
|
|
public_key: DEIN_PUBLIC_KEY
|