# Insert Menu Items Service Configuration
enabled: true

# Authentication
auth:
  bearer_token_env: "INSERT_MENU_ITEMS_SERVICE_KEY"

# External API Configuration
external_api:
  create_menu_url: "https://zavedenia.com/apps/orderapprestaurant/api/createMenu.php"
  timeout: 90.0  # Increased from 30s to 90s (1.5 minutes)
  max_retries: 3

# Temporary file storage
storage:
  temp_directory: "/tmp/menu_images"
  cleanup_after_seconds: 60  # 1 minute
  observability_public_directory: "observability"
  observability_public_url_prefix: "/observability"
  public_base_url_env: "AI_MENU_PUBLIC_BASE_URL"
  public_base_url: "https://ai.zavedenia.com"

# Optional n8n observability hook.
# Configure INSERT_MENU_ITEMS_OBSERVABILITY_WEBHOOK_URL after importing
# automation/n8n_menu_items_insert_observability.json into n8n.
observability:
  webhook_url: "http://16.16.97.209:5678/webhook/menu-items/insert/observability"
  webhook_url_env: "INSERT_MENU_ITEMS_OBSERVABILITY_WEBHOOK_URL"
  bearer_token_env: "MENU_EXTRACTION_SERVICE_KEY"
  timeout: 10.0
  notify_email: "darko@appfactory.bg"
