FastAPI-based scraper for commodity ticker prices (HO, CL, RB futures) and competitor oil pricing from NewEnglandOil. Includes cron-driven scraping, PostgreSQL storage, and REST endpoints for price retrieval. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
519 B
Plaintext
24 lines
519 B
Plaintext
# Environment variables for eamco_scraper - PRODUCTION
|
|
# Copy this to .env.prod and fill in actual values
|
|
|
|
# Application mode
|
|
MODE=PRODUCTION
|
|
CURRENT_SETTINGS=PRODUCTION
|
|
|
|
# Database configuration
|
|
POSTGRES_USERNAME=postgres
|
|
POSTGRES_PW=your_password_here
|
|
POSTGRES_SERVER=192.168.1.204
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DBNAME=auburnoil
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
|
|
# Scraper configuration
|
|
SCRAPER_DELAY=2.0
|
|
SCRAPER_TIMEOUT=10
|
|
|
|
# CORS (optional - comma-separated)
|
|
# CORS_ORIGINS=https://oil.edwineames.com,https://edwineames.com
|