# Server-to-server API URL (Next.js Server Components → Express backend) # Docker: http://backend:4000 | Local dev: http://localhost:4000 BACKEND_URL=http://backend:4000 # Browser-accessible backend URL (used for document download links in rendered HTML) # Must be publicly reachable — set to your Caddy-fronted domain or IP NEXT_PUBLIC_BACKEND_URL=https://api.lad1908.org