diff --git a/content/posts/commits/2026-03-14-commit-54cb79f.md b/content/posts/commits/2026-03-14-commit-54cb79f.md new file mode 100644 index 0000000..5f47f4d --- /dev/null +++ b/content/posts/commits/2026-03-14-commit-54cb79f.md @@ -0,0 +1,61 @@ +--- +title: "[bojemoi] feat(sentinel): add MQTT broker + collector stack" +date: 2026-03-14T21:29:41+01:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit 54cb79f par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `54cb79f` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `54cb79febc29019f1ff67feecaa3d69c413b9739` | + + +### Description + +- eclipse-mosquitto via local registry (localhost:5000/mosquitto:2.0) +- sentinel-collector image built from sentinel/collector/ +- mosquitto passwd file injected as Docker config (uid 1883, mode 0400) +- secrets: sentinel_mqtt_pass, sentinel_pg_pass (external) + +Co-Authored-By: Claude Sonnet 4.6 + +### Files Changed + +``` +A sentinel/collector/Dockerfile +A sentinel/collector/collector.py +A sentinel/collector/requirements.txt +A sentinel/esp32/sentinel_probe.ino +A sentinel/mosquitto/mosquitto.conf +A sentinel/setup.sh +A sentinel/sql/01-init-db.sql +A sentinel/sql/02-tables.sql +A sentinel/sql/03-grants.sql +A sentinel/sql/apply.sh +A stack/55-service-sentinel.yml +``` + +### Diff Summary + +``` + sentinel/collector/Dockerfile | 9 + + sentinel/collector/collector.py | 337 ++++++++++++++++++++++++++++++++++++ + sentinel/collector/requirements.txt | 3 + + sentinel/esp32/sentinel_probe.ino | 213 +++++++++++++++++++++++ + sentinel/mosquitto/mosquitto.conf | 18 ++ + sentinel/setup.sh | 50 ++++++ + sentinel/sql/01-init-db.sql | 28 +++ + sentinel/sql/02-tables.sql | 93 ++++++++++ + sentinel/sql/03-grants.sql | 18 ++ + sentinel/sql/apply.sh | 45 +++++ + stack/55-service-sentinel.yml | 140 +++++++++++++++ + 11 files changed, 954 insertions(+) +```