60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
# Price Tracker Environment Variables
|
|
# Copy this file to .env and uncomment/modify the variables you want to override
|
|
|
|
# ================================
|
|
# Database Configuration
|
|
# ================================
|
|
# Path to the SQLite database file
|
|
DATABASE_PATH=/app/data/price_tracker.db
|
|
|
|
# ================================
|
|
# Scraping Configuration
|
|
# ================================
|
|
# Delay between requests in seconds (default: 2)
|
|
DELAY_BETWEEN_REQUESTS=2
|
|
|
|
# Maximum concurrent requests (default: 1)
|
|
MAX_CONCURRENT_REQUESTS=1
|
|
|
|
# Request timeout in seconds (default: 30)
|
|
REQUEST_TIMEOUT=30
|
|
|
|
# Number of retry attempts (default: 3)
|
|
RETRY_ATTEMPTS=3
|
|
|
|
# ================================
|
|
# Email Notifications
|
|
# ================================
|
|
# Enable/disable email notifications (true/false)
|
|
EMAIL_ENABLED=false
|
|
|
|
# SMTP server settings
|
|
SMTP_SERVER=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
|
|
# Email credentials (use app passwords for Gmail)
|
|
SENDER_EMAIL=your-email@gmail.com
|
|
SENDER_PASSWORD=your-app-password
|
|
|
|
# Where to send price alerts
|
|
RECIPIENT_EMAIL=alerts@yourdomain.com
|
|
|
|
# ================================
|
|
# Webhook Notifications
|
|
# ================================
|
|
# Enable/disable webhook notifications (true/false)
|
|
WEBHOOK_ENABLED=false
|
|
|
|
# Webhook URL for price alerts
|
|
WEBHOOK_URL=https://your-webhook-url.com/notify
|
|
|
|
# ================================
|
|
# Flask Application
|
|
# ================================
|
|
# Flask environment (development/production)
|
|
FLASK_ENV=production
|
|
|
|
# Python settings
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
PYTHONUNBUFFERED=1
|