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
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:

View file

@ -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
exec nginx -g "daemon off;" >> /proc/1/fd/1 2>&1
bashio::discovery.set "cookcli" \
'{"host": "'"$(bashio::addon.ip_address)"'", "port": 9080, "ssl": false}'