Make the default docker-compose.yml start the full stack #33

Open
opened 2026-07-17 03:07:49 +00:00 by claude-bot · 0 comments
Contributor

docker-compose.yml builds only the frontend container, whose nginx config (nginx.conf:10-18) proxies /api/ to a backend host that doesn't exist in that file — every API call 502s. Since server-side calculation landed, most tabs fetch on load, so the "frontend only" quick-start in README (lines 5-11) produces a visibly broken app.

Fix: promote the full stack to docker-compose.yml (frontend + backend + postgres), drop or alias docker-compose.full.yml, and update README run instructions and the Renovate config's package-file list if the filename changes.

Acceptance criteria

  • docker compose up --build on a clean machine yields a working app end to end
  • README quick-start matches
  • renovate.json still tracks the compose file(s)

Relations: relates to #8

(Audit finding F-12, 2026-07-16 — Severity: Medium, Confidence: High)

`docker-compose.yml` builds only the frontend container, whose nginx config (`nginx.conf:10-18`) proxies `/api/` to a `backend` host that doesn't exist in that file — every API call 502s. Since server-side calculation landed, most tabs fetch on load, so the "frontend only" quick-start in README (lines 5-11) produces a visibly broken app. Fix: promote the full stack to `docker-compose.yml` (frontend + backend + postgres), drop or alias `docker-compose.full.yml`, and update README run instructions and the Renovate config's package-file list if the filename changes. **Acceptance criteria** - [ ] `docker compose up --build` on a clean machine yields a working app end to end - [ ] README quick-start matches - [ ] renovate.json still tracks the compose file(s) **Relations:** relates to #8 *(Audit finding F-12, 2026-07-16 — Severity: Medium, Confidence: High)*
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/BatteryStorageCalculator#33
No description provided.