diff --git a/cookcli/config.yaml b/cookcli/config.yaml index c0dee53..0dc9cf5 100644 --- a/cookcli/config.yaml +++ b/cookcli/config.yaml @@ -1,7 +1,7 @@ --- name: CookCLI Server slug: cookcli -version: 0.10.1 +version: 0.11.0 description: "Serveur CookCLI avec synchronisation Git" url: "https://git.thethomaas.net/TheThomaas/home-assistant-apps/src/branch/main/cookcli" arch: 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