From 356bdf5bec1a8026463ff31a6d58a6f7201d2688 Mon Sep 17 00:00:00 2001 From: DevOps Engineer Date: Mon, 27 Apr 2026 16:42:15 +0200 Subject: [PATCH] =?UTF-8?q?fix(leadhunter):=20change=20port=208769?= =?UTF-8?q?=E2=86=928770=20=E2=80=94=20conflit=20avec=20depenses=5Ftrello?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port 8769 était occupé par /home/h3r7/depenses_trello/app.py (pid=2287989). Mise à jour du port dans : - leadhunter_api.py (docstring, healthcheck, app.run) - infra/turf-saas-leadhunter.service (description) Ref: 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 5620a8f..2f59e12 100644 --- a/infra/turf-saas-leadhunter.service +++ b/infra/turf-saas-leadhunter.service @@ -1,5 +1,5 @@ [Unit] -Description=H3R7Tech LeadHunter API (Port 8769) +Description=H3R7Tech LeadHunter API (Port 8770) Documentation=https://portal-kolifee.duckdns.org After=network.target diff --git a/leadhunter_api.py b/leadhunter_api.py index d720ebd..845db81 100644 --- a/leadhunter_api.py +++ b/leadhunter_api.py @@ -2,7 +2,7 @@ """ H3R7Tech — LeadHunter API =========================== -Service Flask sur port 8769 exposant les endpoints LeadHunter. +Service Flask sur port 8770 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 : 8769 (validé CTO — disponible sur VPS, hors 8768/8765/5000/8792) +Port : 8770 (8769 occupé par depenses_trello/app.py — corrigé HRT-66) Auteur: H3R7Tech Backend Engineer Issue: HRT-66 @@ -292,7 +292,7 @@ def health(): { "status": "ok", "service": "leadhunter-api", - "port": 8769, + "port": 8770, } ) @@ -300,4 +300,4 @@ def health(): # ─── Entrypoint ────────────────────────────────────────────────────────────── if __name__ == "__main__": - app.run(host="0.0.0.0", port=8769, debug=False) + app.run(host="0.0.0.0", port=8770, debug=False)