diff --git a/cookcli/rootfs/etc/services.d/cookcli/run b/cookcli/rootfs/etc/services.d/cookcli/run index 6f33ac2..e6b37e0 100644 --- a/cookcli/rootfs/etc/services.d/cookcli/run +++ b/cookcli/rootfs/etc/services.d/cookcli/run @@ -9,4 +9,7 @@ bashio::log.info "Démarrage de CookCLI sur le port ${PORT}..." exec cook server "${RECIPES_PATH}" \ --port "${PORT}" \ --host "0.0.0.0" \ - >> /proc/1/fd/1 2>&1 \ No newline at end of file + >> /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