From 530c61c8148520ab9faa1dc116f4aeb8e2f9cd18 Mon Sep 17 00:00:00 2001 From: hcornet Date: Sat, 12 Sep 2026 18:32:44 +0200 Subject: [PATCH] =?UTF-8?q?1.0.2=20=E2=80=94=20middleware=20Traefik=20en?= =?UTF-8?q?=20etiquettes,=20sonde=20worker=20desactivee?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 25 +++++++++++++++++++++++++ VERSION | 2 +- backend/pyproject.toml | 2 +- backend/src/limier/__init__.py | 2 +- deploy/.env.example | 2 +- deploy/docker-compose.yml | 8 ++++---- deploy/essai/LISEZMOI.md | 6 +++--- frontend/package.json | 2 +- 8 files changed, 37 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c51ea1..a900200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ Format inspiré de [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/). +## [1.0.2] — 2026-09-12 + +Correctifs de déploiement uniquement : le code applicatif et les images sont +identiques à la 1.0.1. + +### Corrigé +- **L'interface renvoyait 404 derrière Traefik.** Le routeur `limier-web` + référençait `limier-securite@file`, déclaré dans un fichier dynamique + séparé. Un routeur dont le middleware est introuvable est désactivé en + silence par Traefik : la requête retombe en 404 sans qu'aucun journal ne + mentionne le middleware manquant. Le middleware est désormais déclaré dans + les étiquettes du conteneur et `deploy/traefik/` est supprimé — la pile est + autonome. +- Le worker passait `unhealthy` alors qu'il fonctionnait : la sonde héritée de + l'image commune interroge `/api/sante` sur un port où il n'écoute pas. Sonde + désactivée pour ce service. + +### Modifié +- Étiquettes alignées sur la convention du homelab : routeurs `http` et `https` + distincts, suffixes `-http` / `-https`, services nommés `-https-service`, + priorités explicites (API 59/60, interface 49/50), et `observability` + (journaux d'accès, métriques, traces) activée pour alimenter Tempo. +- Déclaration réseau simplifiée : `traefik_front_network` en externe direct, + `attachable: true` sur le réseau interne. + ## [1.0.1] — 2026-09-12 ### Corrigé diff --git a/VERSION b/VERSION index 7dea76e..6d7de6e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.1 +1.0.2 diff --git a/backend/pyproject.toml b/backend/pyproject.toml index be3e9a8..77ee780 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "limier" -version = "1.0.1" +version = "1.0.2" description = "Plateforme OSINT auto-hébergée : pseudonyme, nom, e-mail, domaine" requires-python = ">=3.12,<3.14" license = { text = "MIT" } diff --git a/backend/src/limier/__init__.py b/backend/src/limier/__init__.py index 5a4ca3a..d1c289e 100644 --- a/backend/src/limier/__init__.py +++ b/backend/src/limier/__init__.py @@ -1,3 +1,3 @@ """Limier — plateforme OSINT auto-hébergée.""" -__version__ = "1.0.1" +__version__ = "1.0.2" diff --git a/deploy/.env.example b/deploy/.env.example index 72ce316..04de879 100644 --- a/deploy/.env.example +++ b/deploy/.env.example @@ -7,7 +7,7 @@ # --------------------------------------------------------------------------- REGISTRY=registry.tips-of-mine.com -TAG=1.0.1 +TAG=1.0.2 LIMIER_HOST=limier.tips-of-mine.com LIMIER_PUBLIC_URL=https://limier.tips-of-mine.com LIMIER_ENVIRONMENT=prod diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index b9454be..a3662de 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -56,7 +56,7 @@ x-limier-env: &limier-env services: limier-api: - image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-backend:${TAG:-1.0.1} + image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-backend:${TAG:-1.0.2} container_name: limier-api restart: unless-stopped command: ["limier-api"] @@ -99,7 +99,7 @@ services: - "homepage.description=Plateforme OSINT" limier-worker: - image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-backend:${TAG:-1.0.1} + image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-backend:${TAG:-1.0.2} container_name: limier-worker restart: unless-stopped command: ["limier-worker"] @@ -122,7 +122,7 @@ services: - "com.centurylinklabs.watchtower.enable=true" limier-web: - image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-frontend:${TAG:-1.0.1} + image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-frontend:${TAG:-1.0.2} container_name: limier-web restart: unless-stopped volumes: @@ -205,7 +205,7 @@ services: # ``--profile``, pour que l'installation par défaut reste minimale. limier-holehe: - image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-holehe:${TAG:-1.0.1} + image: ${REGISTRY:-registry.tips-of-mine.com}/limier/limier-holehe:${TAG:-1.0.2} container_name: limier-holehe restart: unless-stopped profiles: ["holehe"] diff --git a/deploy/essai/LISEZMOI.md b/deploy/essai/LISEZMOI.md index b4fc455..146fdac 100644 --- a/deploy/essai/LISEZMOI.md +++ b/deploy/essai/LISEZMOI.md @@ -12,7 +12,7 @@ Ni base de données, ni Redis, ni Authentik. On appelle le moteur directement. cd /opt # ou n'importe où, il suffit d'avoir essai_moteur.py sous la main docker run --rm -v "$PWD/essai_moteur.py:/tmp/essai.py" \ - registry.tips-of-mine.com/limier/limier-backend:1.0.1 \ + registry.tips-of-mine.com/limier/limier-backend:1.0.2 \ python /tmp/essai.py domain tips-of-mine.com ``` @@ -24,7 +24,7 @@ Le moteur pseudonyme, en version courte : ```bash docker run --rm -v "$PWD/essai_moteur.py:/tmp/essai.py" \ -e LIMIER_USERNAME_TOP_SITES=80 \ - registry.tips-of-mine.com/limier/limier-backend:1.0.1 \ + registry.tips-of-mine.com/limier/limier-backend:1.0.2 \ python /tmp/essai.py username soxoj ``` @@ -33,7 +33,7 @@ Et la recherche par nom, qui montre les variantes déduites : ```bash docker run --rm -v "$PWD/essai_moteur.py:/tmp/essai.py" \ -e LIMIER_USERNAME_TOP_SITES=60 \ - registry.tips-of-mine.com/limier/limier-backend:1.0.1 \ + registry.tips-of-mine.com/limier/limier-backend:1.0.2 \ python /tmp/essai.py name "Hubert Cornet" ``` diff --git a/frontend/package.json b/frontend/package.json index 7dbe490..f73d300 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "limier-frontend", - "version": "1.0.1", + "version": "1.0.2", "private": true, "type": "module", "scripts": {