Merge pull request 'discovery' (#2) from discovery into main

Reviewed-on: #2
This commit is contained in:
TheThomaas 2026-09-13 14:29:34 +00:00
commit 4e2d68d5ee
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}'