fix(leadhunter): change port 8770→8775 — port 8770 occupé par turf_scraper/crm_api.py
Port audit sur VPS (27/04/2026) : - 8769 : depenses_trello/app.py (PID 2287989) - 8770 : turf_scraper/crm_api.py (PID 2287988) ← port précédemment choisi, aussi occupé - 8775 : libre (vérifié via ss -tlnp | grep 8775 → vide) Fichiers modifiés : - leadhunter_api.py : lignes 5, 295, 303 (port 8770→8775) - infra/turf-saas-leadhunter.service : Description Port 8770→8775 Issue: HRT-66 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=H3R7Tech LeadHunter API (Port 8770)
|
Description=H3R7Tech LeadHunter API (Port 8775)
|
||||||
Documentation=https://portal-kolifee.duckdns.org
|
Documentation=https://portal-kolifee.duckdns.org
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"""
|
"""
|
||||||
H3R7Tech — LeadHunter API
|
H3R7Tech — LeadHunter API
|
||||||
===========================
|
===========================
|
||||||
Service Flask sur port 8770 exposant les endpoints LeadHunter.
|
Service Flask sur port 8775 exposant les endpoints LeadHunter.
|
||||||
|
|
||||||
Endpoints :
|
Endpoints :
|
||||||
GET /api/leads — Liste les leads (filtres: status, limit, offset)
|
GET /api/leads — Liste les leads (filtres: status, limit, offset)
|
||||||
@@ -11,7 +11,7 @@ Endpoints :
|
|||||||
GET /api/leads/export — Export CSV des leads
|
GET /api/leads/export — Export CSV des leads
|
||||||
PATCH /api/leads/<id>/status — Met à jour le statut d'un lead
|
PATCH /api/leads/<id>/status — Met à jour le statut d'un lead
|
||||||
|
|
||||||
Port : 8770 (8769 occupé par depenses_trello/app.py — corrigé HRT-66)
|
Port : 8775 (8769 occupé par depenses_trello/app.py, 8770 occupé par turf_scraper/crm_api.py — corrigé HRT-66)
|
||||||
|
|
||||||
Auteur: H3R7Tech Backend Engineer
|
Auteur: H3R7Tech Backend Engineer
|
||||||
Issue: HRT-66
|
Issue: HRT-66
|
||||||
@@ -292,7 +292,7 @@ def health():
|
|||||||
{
|
{
|
||||||
"status": "ok",
|
"status": "ok",
|
||||||
"service": "leadhunter-api",
|
"service": "leadhunter-api",
|
||||||
"port": 8770,
|
"port": 8775,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -300,4 +300,4 @@ def health():
|
|||||||
# ─── Entrypoint ──────────────────────────────────────────────────────────────
|
# ─── Entrypoint ──────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(host="0.0.0.0", port=8770, debug=False)
|
app.run(host="0.0.0.0", port=8775, debug=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user