Files
tfm_ainventory/config/frontend.yaml.example
Daniel Bedeleanu 095df98ceb feat(07-01): create config/ folder and YAML example files
- Added backend.yaml.example with AI, DB, auth, and logging schema
- Added frontend.yaml.example with API and feature flag schema
- Added network.yaml.example with ports and SSL schema
- Added docker.yaml.example with resource and volume schema
- Added secrets.yaml.example as a template for sensitive data
- All files include comprehensive comments documenting every variable
2026-04-23 12:42:07 +03:00

64 lines
1.6 KiB
Plaintext

# =============================================================================
# TFM aInventory - Frontend Configuration Schema (v1.12.0)
# =============================================================================
# Purpose: Configuration for the Next.js frontend application.
# =============================================================================
# --- API Connection ---
api:
# Base URL of the backend API
# Default: http://localhost:8916
# Environment: FRONTEND_API_BACKEND_URL or BACKEND_URL
backend_url: "http://localhost:8916"
# API timeout in milliseconds
# Default: 30000 (30 seconds)
# Environment: FRONTEND_API_TIMEOUT_MS
timeout_ms: 30000
# --- Feature Flags & PWA ---
features:
# Enable PWA service worker?
# Default: true
service_worker_enabled: true
# Enable offline functionality?
# Default: true
offline_enabled: true
# Enable AI image extraction UI features?
# Default: true
ai_extraction_ui_enabled: true
# --- PWA Branding ---
pwa:
# Application long name
# Default: TFM aInventory
app_name: "TFM aInventory"
# Application short name for home screen
# Default: aInventory
short_name: "aInventory"
# Initial URL to open on launch
# Default: /
start_url: "/"
# Display mode (standalone|browser|minimal-ui|fullscreen)
# Default: standalone
display_mode: "standalone"
# --- Feature Toggles ---
toggles:
# Enable built-in QR code scanner?
# Default: true
enable_qr_scanner: true
# Enable built-in barcode scanner?
# Default: true
enable_barcode_scanner: true
# Enable batch import functionality?
# Default: true
enable_batch_import: true