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:
DevOps Engineer
2026-04-27 16:48:12 +02:00
parent 356bdf5bec
commit 4b4323f707
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=H3R7Tech LeadHunter API (Port 8770)
Description=H3R7Tech LeadHunter API (Port 8775)
Documentation=https://portal-kolifee.duckdns.org
After=network.target

View File

@@ -2,7 +2,7 @@
"""
H3R7Tech — LeadHunter API
===========================
Service Flask sur port 8770 exposant les endpoints LeadHunter.
Service Flask sur port 8775 exposant les endpoints LeadHunter.
Endpoints :
GET /api/leads — Liste les leads (filtres: status, limit, offset)
@@ -11,7 +11,7 @@ Endpoints :
GET /api/leads/export — Export CSV des leads
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
Issue: HRT-66
@@ -292,7 +292,7 @@ def health():
{
"status": "ok",
"service": "leadhunter-api",
"port": 8770,
"port": 8775,
}
)
@@ -300,4 +300,4 @@ def health():
# ─── Entrypoint ──────────────────────────────────────────────────────────────
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)