example.env 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. VERSION=2.1
  2. SECRET_KEY="your-secret-key-here-generate-with-python-secrets"
  3. SQUID_HOST="127.0.0.1"
  4. SQUID_PORT=3128
  5. LOG_FORMAT=DETAILED
  6. FLASK_DEBUG=True
  7. DATABASE_TYPE="SQLITE"
  8. SQUID_LOG="/var/log/squid/access.log"
  9. SQUID_CACHE_LOG="/var/log/squid/cache.log"
  10. DATABASE_STRING_CONNECTION="/opt/SquidStats/"
  11. REFRESH_INTERVAL=60
  12. BLACKLIST_DOMAINS="facebook.com,twitter.com,instagram.com,tiktok.com,youtube.com,netflix.com"
  13. HTTP_PROXY=""
  14. HTTPS_PROXY=
  15. NO_PROXY=
  16. SQUID_CONFIG_PATH=/home/manuel/Desktop/config/squid.conf
  17. ACL_FILES_DIR=/home/manuel/Desktop/config/acls
  18. LISTEN_HOST="127.0.0.1"
  19. LISTEN_PORT=8080
  20. FIRST_PASSWORD="mipasswordsegura"
  21. JWT_SECRET_KEY="your-jwt-secret-key-generate-with-python-secrets"
  22. JWT_EXPIRY_HOURS=24
  23. MAX_LOGIN_ATTEMPTS=5
  24. LOCKOUT_DURATION_MINUTES=15
  25. # Telegram Notifications (optional)
  26. # Get your API credentials from https://my.telegram.org/apps
  27. TELEGRAM_ENABLED=false
  28. TELEGRAM_API_ID=
  29. TELEGRAM_API_HASH=
  30. # Option 1: Use a bot (recommended) - Get token from @BotFather
  31. TELEGRAM_BOT_TOKEN=
  32. # Option 2: Use your user account (requires phone number and authentication)
  33. TELEGRAM_PHONE=
  34. # Session name for storing authentication
  35. TELEGRAM_SESSION_NAME=squidstats_bot
  36. # Comma-separated list of recipients (usernames with @, user IDs, or chat IDs)
  37. # Example: @username1,@username2,123456789
  38. TELEGRAM_RECIPIENTS=