docs: fix LXC host address 192.168.0.108 -> 192.168.0.99

Revert of A9 address change. The .108 value was inferred from the
container VMID (108), not from its actual network config: net0 is
ip=dhcp and the container currently holds 192.168.0.99. Requests to
.108 fail with "No route to host", making the UI look down while all
four compose services are healthy.

A9 section in vector_tasks.md is kept as history and flagged stale so
the .99 -> .108 replacement is not repeated.

Note: the address is DHCP-assigned and may change again; a static IP
would be needed to make these docs durable. Hardcoded .99 URLs remain
in MobileForm.jsx:49 and HeatmapView.jsx:73 (tracked in vector_tasks.md,
untouched here).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
root
2026-07-25 13:21:15 +00:00
parent 3a0d2b0c2d
commit b30ce86fa9
6 changed files with 27 additions and 25 deletions
+4 -2
View File
@@ -2,7 +2,7 @@
**Проект:** ВЕКТОР (Система определения приоритетных направлений поиска, SAR/МЧС)
**Стек:** FastAPI + PostgreSQL 16 + React (CRA), docker-compose
**Расположение:** LXC 108 (`Lab`, 192.168.0.108), путь `/root/vector`
**Расположение:** LXC 108 (`Lab`, 192.168.0.99), путь `/root/vector`
**Дата анализа:** 2026-07-21
**Состояние на момент анализа:** git чистый, ветка `master`, `126 passed, 26 skipped` (async-тесты пропущены — нет `pytest-asyncio`).
@@ -333,7 +333,9 @@ PYTHONPATH=/root/vector python -m pytest backend/tests -q
- **Тип:** naming / консистентность документации
- **Сложность:** atomic
> Канон (сверено с `docker-compose.yml` и реальным LXC): адрес **192.168.0.108**, БД **vector_mchs**, путь проекта **/root/vector**.
> ⚠️ УСТАРЕЛО (2026-07-25): канон ниже оказался неверным — адрес **192.168.0.108** взят из номера VMID, а не из реальной сети. Контейнер на DHCP и фактически имеет **192.168.0.99**; замена .99 → .108 была ошибочной и откачена. Раздел сохранён как история выполненной задачи — не выполнять повторно.
> Канон (исходный, НЕВЕРНЫЙ): адрес **192.168.0.108**, БД **vector_mchs**, путь проекта **/root/vector**.
**PROMPT:**