From 4b4323f707d90cfddd45d084c6f61134c4edb475 Mon Sep 17 00:00:00 2001 From: DevOps Engineer Date: Mon, 27 Apr 2026 16:48:12 +0200 Subject: [PATCH] =?UTF-8?q?fix(leadhunter):=20change=20port=208770?= =?UTF-8?q?=E2=86=928775=20=E2=80=94=20port=208770=20occup=C3=A9=20par=20t?= =?UTF-8?q?urf=5Fscraper/crm=5Fapi.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- infra/turf-saas-leadhunter.service | 2 +- leadhunter_api.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/infra/turf-saas-leadhunter.service b/infra/turf-saas-leadhunter.service index 2f59e12..8e7206b 100644 --- a/infra/turf-saas-leadhunter.service +++ b/infra/turf-saas-leadhunter.service @@ -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 diff --git a/leadhunter_api.py b/leadhunter_api.py index 845db81..f6720da 100644 --- a/leadhunter_api.py +++ b/leadhunter_api.py @@ -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//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)