discovery #2

Merged
TheThomaas merged 2 commits from discovery into main 2026-09-13 14:29:35 +00:00
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
--- ---
name: CookCLI Server name: CookCLI Server
slug: cookcli slug: cookcli
version: 0.10.1 version: 0.11.0
description: "Serveur CookCLI avec synchronisation Git" description: "Serveur CookCLI avec synchronisation Git"
url: "https://git.thethomaas.net/TheThomaas/home-assistant-apps/src/branch/main/cookcli" url: "https://git.thethomaas.net/TheThomaas/home-assistant-apps/src/branch/main/cookcli"
arch: arch:

View file

@ -25,4 +25,7 @@ fi
# Démarrer Nginx # Démarrer Nginx
bashio::log.info "Démarrage de Nginx..." bashio::log.info "Démarrage de Nginx..."
exec nginx -g "daemon off;" >> /proc/1/fd/1 2>&1 exec nginx -g "daemon off;" >> /proc/1/fd/1 2>&1
bashio::discovery.set "cookcli" \
'{"host": "'"$(bashio::addon.ip_address)"'", "port": 9080, "ssl": false}'