This commit is contained in:
Tour
2025-12-04 15:21:24 +01:00
parent bb3135e7ad
commit 05b5e63762

View File

@@ -7,15 +7,14 @@ services:
dockerfile: Dockerfile
container_name: scaev-scraper
volumes:
# Mount output directory to persist results
- ./output:/app/output
# Mount cache database to persist between runs
- ./cache:/app/cache
# environment:
# Configuration via environment variables (optional)
# Mount to match config.py paths (/mnt/okcomputer/output)
# This maps host ./output directory to container /mnt/okcomputer/output
- ./output:/mnt/okcomputer/output
environment:
# Configuration via environment variables (optional - overrides config.py)
# Uncomment and modify as needed
# RATE_LIMIT_SECONDS: 2
# MAX_PAGES: 5
RATE_LIMIT_SECONDS: 0.5
# MAX_PAGES: 50
# DOWNLOAD_IMAGES: False
restart: unless-stopped
# Uncomment to run in test mode