#!/usr/bin/env python3
"""
🔧 Configuration für Enhanced AI Schema Generator
Sichere DB-Konfiguration für Live-Shop
"""

import os

# Database Configuration
# Diese Werte sollten in einer sicheren Umgebung gesetzt werden
DB_CONFIG = {
    'host': os.getenv('DB_HOST', 'localhost'),
    'database': os.getenv('DB_NAME', 'intelectra_problems'),  # Separate DB für Probleme
    'user': os.getenv('DB_USER', 'ai_schema_user'),
    'password': os.getenv('DB_PASSWORD', ''),
    'charset': 'utf8mb4',
    'use_unicode': True,
    'autocommit': True
}

# Fallback-Modus aktivieren falls DB nicht verfügbar
ENABLE_FALLBACK = True

# Logging Configuration
LOG_DIR = "/var/www/vhosts/intelectra.de/httpdocs/core/python/logs"
SCHEMA_SAVE_DIR = "/var/www/vhosts/intelectra.de/httpdocs/core/python/logs"

# API Configuration
BASE_URL = "https://intelectra.de"
SAFETY_ICON_BASE = "/web/intelectra_shop/themes/theme2/media/images/safety/"