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