# Exemple de configuration - Copier vers .env et modifier les valeurs # Application APP_NAME="Jetson Agent API" APP_VERSION="1.0.0" APP_ENV="development" # development, production LOG_LEVEL="info" # debug, info, warning, error # API Configuration API_HOST="0.0.0.0" API_PORT=8000 API_RELOAD=true # false en production # Sécurité JWT JWT_SECRET_KEY="CHANGE_ME_GENERATE_WITH_openssl_rand_hex_32" JWT_ALGORITHM="HS256" JWT_ACCESS_TOKEN_EXPIRE_MINUTES=1440 # 24 heures # Chemins de configuration CONFIG_DIR="/home/nicoboy/projects/jetson-agent/config" ALLOWED_PATHS_CONFIG="allowed_paths.yaml" # Réseau et sécurité ALLOWED_IPS="192.168.1.0/24,82.67.167.0/24" # Adapte selon ton réseau CORS_ORIGINS="http://localhost:3000,https://82.67.167.147" # Rate limiting RATE_LIMIT_ENABLED=true RATE_LIMIT_PER_MINUTE=100 # Logs LOG_FILE="/home/nicoboy/projects/jetson-agent/logs/api.log" LOG_ROTATION_SIZE=10485760 # 10 MB LOG_BACKUP_COUNT=5