# Fly.io configuration for the ConsentOS Scanner service # Runs the Playwright-based cookie crawler as an internal HTTP service. # See https://fly.io/docs/reference/configuration/ for reference. app = "consentos-scanner" primary_region = "lhr" # London — same region as consentos-api [build] dockerfile = "Dockerfile" [env] HOST = "0.0.0.0" PORT = "8001" LOG_LEVEL = "INFO" CRAWLER_HEADLESS = "true" [http_service] internal_port = 8001 force_https = true auto_stop_machines = "stop" auto_start_machines = true min_machines_running = 1 processes = ["app"] [[vm]] memory = "512mb" cpu_kind = "shared" cpus = 1