From b81794e61c1aedcac8499f123bcd4a34be9634b6 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sun, 13 Sep 2026 16:23:19 +0200 Subject: [PATCH] Add integration discovery --- cookcli/rootfs/etc/services.d/run | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookcli/rootfs/etc/services.d/run b/cookcli/rootfs/etc/services.d/run index 46adc71..af1fc11 100644 --- a/cookcli/rootfs/etc/services.d/run +++ b/cookcli/rootfs/etc/services.d/run @@ -25,4 +25,7 @@ fi # Démarrer Nginx bashio::log.info "Démarrage de Nginx..." -exec nginx -g "daemon off;" >> /proc/1/fd/1 2>&1 \ No newline at end of file +exec nginx -g "daemon off;" >> /proc/1/fd/1 2>&1 + +bashio::discovery.set "cookcli" \ + '{"host": "'"$(bashio::addon.ip_address)"'", "port": 9080, "ssl": false}' \ No newline at end of file