36 lines
786 B
Plaintext
36 lines
786 B
Plaintext
# PostgreSQL Database Configuration
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=proxies
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=your_secure_password_here
|
|
|
|
# Development Mode
|
|
# Set to True to disable scheduler and run scraping job once then exit
|
|
# Set to False for production mode with daily scheduled jobs
|
|
DEVELOPMENT=False
|
|
|
|
# Proxy Validation Settings
|
|
PROXY_TIMEOUT=10
|
|
VALIDATION_URL=http://httpbin.org/ip
|
|
|
|
# Scraping Settings
|
|
SCRAPING_DELAY=2.0
|
|
MAX_RETRIES=3
|
|
|
|
# Scheduling Configuration
|
|
# Job runs once daily between these hours (UTC time)
|
|
SCHEDULE_HOUR_START=2
|
|
SCHEDULE_HOUR_END=4
|
|
|
|
# File Paths
|
|
PROXIES_FILE=/app/proxies.txt
|
|
|
|
# Logging Configuration
|
|
LOG_LEVEL=INFO
|
|
|
|
# pgAdmin Configuration (Optional)
|
|
PGADMIN_EMAIL=admin@admin.com
|
|
PGADMIN_PASSWORD=admin
|
|
PGADMIN_PORT=5050
|