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:
@@ -2,7 +2,7 @@
|
||||
|
||||
**Дата:** 2026-05-01
|
||||
**Проект:** SAR-MCHS (Search and Rescue Management System)
|
||||
**Сервер:** LXC 108 (192.168.0.108)
|
||||
**Сервер:** LXC 108 (192.168.0.99)
|
||||
|
||||
## ✅ Выполненные задачи
|
||||
|
||||
@@ -48,10 +48,10 @@
|
||||
|
||||
## 🌐 Доступ к сервисам
|
||||
|
||||
- **Frontend:** http://192.168.0.108:3000
|
||||
- **Backend API:** http://192.168.0.108:8000
|
||||
- **API Docs:** http://192.168.0.108:8000/docs
|
||||
- **Adminer (БД):** http://192.168.0.108:8080
|
||||
- **Frontend:** http://192.168.0.99:3000
|
||||
- **Backend API:** http://192.168.0.99:8000
|
||||
- **API Docs:** http://192.168.0.99:8000/docs
|
||||
- **Adminer (БД):** http://192.168.0.99:8080
|
||||
|
||||
## 📋 Структура данных
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
### Пример запроса
|
||||
|
||||
```bash
|
||||
curl -X POST http://192.168.0.108:8000/api/v1/analyze/psychotype \
|
||||
curl -X POST http://192.168.0.99:8000/api/v1/analyze/psychotype \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"stress_reaction": "cry",
|
||||
@@ -161,10 +161,10 @@ adjusted_prob = base_prob * modifiers['zone_0_500']
|
||||
pct exec 108 -- bash /root/test_psychotype_flow.sh
|
||||
|
||||
# Проверка frontend
|
||||
curl http://192.168.0.108:3000
|
||||
curl http://192.168.0.99:3000
|
||||
|
||||
# Проверка API
|
||||
curl http://192.168.0.108:8000/api/v1/analyze/psychotype \
|
||||
curl http://192.168.0.99:8000/api/v1/analyze/psychotype \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"stress_reaction":"active","group_role":"leader","risk_taking":"high","unfamiliar_env":"explore"}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user