flugpreisscanner/hub/docker-compose.yml
root a9cb83871c refactor: Economy-Fokus, CX via HKG, Telegram Bot, Anti-Bot
Komplette Neuausrichtung des Scanners:
- Premium Economy → Economy (CX via HKG als Hauptroute)
- Telegram Bot (@CX_HKG_Alert_bot) mit /preis, /best, /status
- SeleniumBase 4.34 → 4.47 (besserer UC/CDP Mode)
- Scrape-URL (.de) / Booking-URL (.com) Trennung
- GDPR-Consent-Handling für Kayak/Momondo
- NODE_SCANNER_SKIP: Geo-Block-Scanner pro Node konfigurierbar
- Alert-Zähler pro Node (kein Spam durch bekannte Geo-Blocks)
- .env Dateien aus Repo entfernt (Secrets)
- STATE.md mit aktuellem Stand

Made-with: Cursor
2026-02-26 18:01:38 +07:00

37 lines
923 B
YAML

services:
web:
build: .
container_name: flugscanner-web
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/data
- ./src:/app/src
environment:
- DB_PATH=/data/flugscanner.db
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- AI_MODEL=${AI_MODEL}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-}
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID:-}
command: python /app/src/web.py
scheduler:
build: .
container_name: flugscanner-scheduler
restart: unless-stopped
volumes:
- ./data:/data
- ./src:/app/src
environment:
- DB_PATH=/data/flugscanner.db
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- AI_MODEL=${AI_MODEL}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-}
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID:-}
command: python -u /app/src/scheduler.py
depends_on:
- web
volumes:
data: