- next.config.js: server-side rewrites so the standalone frontend (built with
NEXT_PUBLIC_API_URL=/deepflow-backend) can reach deepflow-backend:8000/api/*
without CORS; target overridable via DEEPFLOW_BACKEND_HOST
- docker-compose: expose deepflow-frontend 3001:3000 and deepflow-backend 8000:8000