init repo
This commit is contained in:
30
.env.example
Normal file
30
.env.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# PostgreSQL Database Configuration
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=proxies
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=your_secure_password_here
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user