Files
tfm_ainventory/inventory.env.example
Daniel Bedeleanu 6c57b1b0c2 blabla
2026-04-14 22:54:19 +03:00

33 lines
1.2 KiB
Plaintext

# =============================================================================
# TFM aInventory — Master Environment Configuration
# =============================================================================
# 1. Copy this file to 'inventory.env'
# 2. Fill in your real values
# 3. 'inventory.env' is ignored by Git to protect your secrets.
# =============================================================================
# --- 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=