23 lines
610 B
YAML
23 lines
610 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
scaev-scraper:
|
|
build:
|
|
context: .
|
|
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)
|
|
# Uncomment and modify as needed
|
|
# RATE_LIMIT_SECONDS: 2
|
|
# MAX_PAGES: 5
|
|
# DOWNLOAD_IMAGES: False
|
|
restart: unless-stopped
|
|
# Uncomment to run in test mode
|
|
# command: python src/main.py --test
|