From 95460c24f416956b278e4d8aa63de6a7b6f2ba9f Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sun, 13 Sep 2026 15:03:12 +0000 Subject: [PATCH] Ajouter cookcli/rootfs/etc/cont-init.d/80-discovery.sh --- cookcli/rootfs/etc/cont-init.d/80-discovery.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cookcli/rootfs/etc/cont-init.d/80-discovery.sh diff --git a/cookcli/rootfs/etc/cont-init.d/80-discovery.sh b/cookcli/rootfs/etc/cont-init.d/80-discovery.sh new file mode 100644 index 0000000..5167a0b --- /dev/null +++ b/cookcli/rootfs/etc/cont-init.d/80-discovery.sh @@ -0,0 +1,8 @@ +#!/usr/bin/with-contenv bashio + +bashio::log.info "=== Annonce de la découverte CookCLI ===" + +bashio::discovery.set "cookcli" \ + '{"host": "'"$(bashio::addon.ip_address)"'", "port": 9081, "ssl": false}' + +bashio::log.info "✅ Découverte annoncée sur le port 9081" \ No newline at end of file