wrongmove/crawler/frontend/Caddyfile.dev
Viktor Barzin e55902d813
Add frontend and Caddy to Docker Compose dev environment
Containerize the frontend dev server (Vite) and add a Caddy reverse
proxy for HTTPS termination, replacing the manual local setup. The
Caddy config proxies /api/* to the backend and everything else to the
frontend dev server.

Also simplify start.sh: remove --local Poetry mode, extract
get_compose_cmd helper, and document new services and DEV_HOST env var.
2026-02-06 23:45:29 +00:00

11 lines
161 B
Text

{$DEV_HOST:localhost}:443 {
tls internal
handle /api/* {
reverse_proxy app:5001
}
handle {
reverse_proxy frontend:5173
}
}