Commit graph

22 commits

Author SHA1 Message Date
lekss361
e22aeb9b5a Docker: multi-stage backend, npm ci, healthcheck fix, same-origin API
- backend/Dockerfile: split builder/runner, runtime libs only, non-root app user, curl for healthcheck, --frozen via new uv.lock
- frontend/Dockerfile: npm ci instead of npm install (deterministic), USER node
- docker-compose.prod.yml: working backend healthcheck (curl now in image), redis healthcheck, drop dead NEXT_PUBLIC_API_BASE_URL env (Next.js bakes NEXT_PUBLIC_* at build time, runtime override is no-op)
- docker-compose.yml: same redis healthcheck, BACKEND_URL for next.config rewrites, drop uv from CMD (not in new image)
- Caddyfile: handle (not handle_path) so /api prefix is preserved into FastAPI router
- next.config.ts: rewrite /api/* and /health to BACKEND_URL in dev (no Caddy locally)
- frontend/src/lib/api.ts: empty default = same-origin relative URLs
- Makefile: drop uv run from migrate target
- Add backend/uv.lock and frontend/package-lock.json for reproducible builds

Verified: docker build succeeds for both, backend container starts, /health responds, curl healthcheck works inside image, container runs as non-root.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 10:47:35 +03:00
lekss361
c8b2cc8152 fix 2026-04-25 20:59:26 +03:00
lekss361
9d95b80b54 test 2026-04-25 20:33:13 +03:00
lekss361
4bd70cde06 Memory: catch up — hosting research, sales tracking, plan A, runbook, hardening 2026-04-25 20:29:07 +03:00
lekss361
09b9f18d3f Add empty frontend/public/ for Next.js standalone Docker build 2026-04-25 20:04:04 +03:00
lekss361
93c5f3f4a9 Fix frontend build: react-leaflet v5 + npm legacy-peer-deps 2026-04-25 20:00:55 +03:00
lekss361
21882182be ix Dockerfile: remove invalid conditional COPY 2026-04-25 19:56:19 +03:00
lekss361
b49cebb577 GHCR migration + env defaults + memory updates 2026-04-25 19:47:07 +03:00
lekss361
384d4d5489 Fix env defaults: use Docker network hostnames + parametrize compose 2026-04-25 19:36:10 +03:00
lekss361
18ade1e252 Memory: hosting research + sales tracking + plan A pivot + VPS runbook 2026-04-25 19:18:44 +03:00
1dcaff0ea2 Memory: ~ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:17:12 +05) 2026-04-25 16:17:12 +05:00
ed54d148f9 Memory: ~ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:16:11 +05) 2026-04-25 16:16:11 +05:00
917391f045 Memory: ~ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:15:11 +05) 2026-04-25 16:15:11 +05:00
726942cd72 Memory: +rel MVP_Scope_AreaSelect_Apr25→NorthStar_DiscoveryMVP (informs), MVP_Scope_AreaSelect_Apr25→Project_GenDesign (refin... (2026-04-25 16:10:12 +05) 2026-04-25 16:10:12 +05:00
d61a5a5e82 Memory: +ent MVP_Scope_AreaSelect_Apr25 (2026-04-25 16:09:11 +05) 2026-04-25 16:09:11 +05:00
29e84e5df9 Memory: non-structural change (2026-04-25 16:01:17 +05) 2026-04-25 16:01:17 +05:00
1df2e74f2e Memory: non-structural change (2026-04-25 16:00:17 +05) 2026-04-25 16:00:17 +05:00
lekss361
b95559eac9 init 2026-04-25 13:45:19 +03:00
lekss361
d66086575a Track memory graph via hardlink to C:\mcp\.aim\memory-gendesign.jsonl 2026-04-25 08:48:59 +03:00
lekss361
f170ef4d35 Merge remote README, keep local 2026-04-25 08:45:06 +03:00
lekss361
1c47f781f0 Initial commit: Discovery MVP docs (v2.1 + v2.2) 2026-04-25 08:40:09 +03:00
lekss361
345695f75f
Initial commit 2026-04-25 08:37:05 +03:00