example.env 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. VERSION=2.3.1
  2. SQUID_HOST="127.0.0.1"
  3. SQUID_PORT=3128
  4. LOG_FORMAT=DETAILED
  5. FLASK_DEBUG=True
  6. DATABASE_TYPE="SQLITE"
  7. SQUID_LOG="/var/log/squid/access.log"
  8. SQUID_CACHE_LOG="/var/log/squid/cache.log"
  9. DATABASE_STRING_CONNECTION="/opt/SquidStats/"
  10. REFRESH_INTERVAL=60
  11. HTTP_PROXY=""
  12. HTTPS_PROXY=
  13. NO_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_EXPIRY_HOURS=24
  20. MAX_LOGIN_ATTEMPTS=5
  21. LOCKOUT_DURATION_MINUTES=15
  22. # Telegram Notifications (optional)
  23. # Get your API credentials from https://my.telegram.org/apps
  24. TELEGRAM_ENABLED=false
  25. TELEGRAM_API_ID=
  26. TELEGRAM_API_HASH=
  27. # Option 1: Use a bot (recommended) - Get token from @BotFather
  28. TELEGRAM_BOT_TOKEN=
  29. # Option 2: Use your user account (requires phone number and authentication)
  30. TELEGRAM_PHONE=
  31. # Session name for storing authentication
  32. TELEGRAM_SESSION_NAME=squidstats_bot
  33. # Comma-separated list of recipients (usernames with @, user IDs, or chat IDs)
  34. # Example: @username1,@username2,123456789
  35. TELEGRAM_RECIPIENTS=