Architecture Overview
The Big Picture
FloodLine runs as 5 Docker containers orchestrated by Docker Compose:
Browser ──▶ nginx:80
├── /api/* ──▶ backend:8000 (FastAPI)
└── /* ──▶ frontend:3000 (Next.js)
worker (APScheduler) ──▶ postgres:5432
backend ──▶ postgres:5432
There is no Redis, no Celery, no Kubernetes. The entire system runs on a single machine.
Why These Choices