A9: unify docs on 192.168.0.108 / vector_mchs / /root/vector
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
**Дата:** 2026-05-01
|
||||
**Проект:** SAR-MCHS (Search and Rescue Management System)
|
||||
**Сервер:** LXC 108 (192.168.0.99)
|
||||
**Сервер:** LXC 108 (192.168.0.108)
|
||||
|
||||
## ✅ Выполненные задачи
|
||||
|
||||
@@ -48,10 +48,10 @@
|
||||
|
||||
## 🌐 Доступ к сервисам
|
||||
|
||||
- **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
|
||||
- **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
|
||||
|
||||
## 📋 Структура данных
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
### Пример запроса
|
||||
|
||||
```bash
|
||||
curl -X POST http://192.168.0.99:8000/api/v1/analyze/psychotype \
|
||||
curl -X POST http://192.168.0.108: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.99:3000
|
||||
curl http://192.168.0.108:3000
|
||||
|
||||
# Проверка API
|
||||
curl http://192.168.0.99:8000/api/v1/analyze/psychotype \
|
||||
curl http://192.168.0.108: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