example.env 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. VERSION=2.3.2
  2. SQUID_HOST="127.0.0.1"
  3. SQUID_PORT=3128
  4. # Multi-proxy load-balancing (optional): comma-separated host:port list.
  5. # When set, overrides SQUID_HOST/SQUID_PORT for the active-connections page.
  6. # Example: SQUID_HOSTS="192.168.0.10:3128,192.168.0.11:3128"
  7. SQUID_HOSTS=
  8. LOG_FORMAT=DETAILED
  9. FLASK_DEBUG=True
  10. DATABASE_TYPE="SQLITE"
  11. SQUID_LOG="/var/log/squid/access.log"
  12. SQUID_CACHE_LOG="/var/log/squid/cache.log"
  13. DATABASE_STRING_CONNECTION="/opt/SquidStats/squidstats.db"
  14. REFRESH_INTERVAL=60
  15. HTTP_PROXY=""
  16. HTTPS_PROXY=
  17. NO_PROXY=
  18. SQUID_CONFIG_PATH=/home/manuel/Desktop/config/squid.conf
  19. ACL_FILES_DIR=/home/manuel/Desktop/config/acls
  20. LISTEN_HOST="127.0.0.1"
  21. LISTEN_PORT=8080
  22. FIRST_PASSWORD="mipasswordsegura"
  23. JWT_EXPIRY_HOURS=24
  24. MAX_LOGIN_ATTEMPTS=5
  25. LOCKOUT_DURATION_MINUTES=15
  26. # Telegram Notifications (optional)
  27. # Get your API credentials from https://my.telegram.org/apps
  28. TELEGRAM_ENABLED=false
  29. TELEGRAM_API_ID=
  30. TELEGRAM_API_HASH=
  31. # Option 1: Use a bot (recommended) - Get token from @BotFather
  32. TELEGRAM_BOT_TOKEN=
  33. # Option 2: Use your user account (requires phone number and authentication)
  34. TELEGRAM_PHONE=
  35. # Session name for storing authentication
  36. TELEGRAM_SESSION_NAME=squidstats_bot
  37. # Comma-separated list of recipients (usernames with @, user IDs, or chat IDs)
  38. # Example: @username1,@username2,123456789
  39. TELEGRAM_RECIPIENTS=