# ============================================================================= # TFM aInventory — Master Environment Configuration (v1.10.15) # ============================================================================= # 1. Copy this file to 'inventory.env' # 2. Fill in your real values # 3. 'inventory.env' is ignored by Git to protect your secrets. # # SYSTEM REQUIREMENTS (before running ./start_server.sh): # - Node.js v20+ (required for frontend build) # - Python 3.12+ with python3.12-venv package # On Debian/Ubuntu: sudo apt install python3.12-venv # ============================================================================= # --- Network & Identity --- # Use your LAN IP (e.g., 192.168.1.10) for mobile access. SERVER_IP=localhost # --- AI API Keys --- # Google Gemini API Key (Required for AI label OCR onboarding) # Get one at: https://aistudio.google.com/ GEMINI_API_KEY=your_gemini_api_key_here # --- Security --- # JWT secret key — generate a strong random value for production: # python3 -c "import secrets; print(secrets.token_urlsafe(64))" JWT_SECRET_KEY=change_me_in_production # --- Infrastructure Ports (Host-side mapping) --- BACKEND_PORT=8916 BACKEND_SSL_PORT=8918 FRONTEND_PORT=8917 FRONTEND_SSL_PORT=8919 # --- External Access (CORS) --- # Comma-separated list of extra IPs or FQDNs allowed (e.g. Tailscale, VPN) # Example: EXTRA_ALLOWED_ORIGINS=100.78.182.27,inventory.my-domain.com EXTRA_ALLOWED_ORIGINS=