example.env 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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. SQUID_CONFIG_PATH=/home/manuel/Desktop/config/squid.conf
  15. ACL_FILES_DIR=/home/manuel/Desktop/config/acls
  16. LISTEN_HOST="127.0.0.1"
  17. LISTEN_PORT=8080
  18. FIRST_PASSWORD="mipasswordsegura"
  19. JWT_SECRET_KEY="your-jwt-secret-key-generate-with-python-secrets"
  20. JWT_EXPIRY_HOURS=24
  21. MAX_LOGIN_ATTEMPTS=5
  22. LOCKOUT_DURATION_MINUTES=15
  23. # Telegram Notifications (optional)
  24. # Get your API credentials from https://my.telegram.org/apps
  25. TELEGRAM_ENABLED=false
  26. TELEGRAM_API_ID=
  27. TELEGRAM_API_HASH=
  28. # Option 1: Use a bot (recommended) - Get token from @BotFather
  29. TELEGRAM_BOT_TOKEN=
  30. # Option 2: Use your user account (requires phone number and authentication)
  31. TELEGRAM_PHONE=
  32. # Session name for storing authentication
  33. TELEGRAM_SESSION_NAME=squidstats_bot
  34. # Comma-separated list of recipients (usernames with @, user IDs, or chat IDs)
  35. # Example: @username1,@username2,123456789
  36. TELEGRAM_RECIPIENTS=