Ajouter cookcli/rootfs/etc/cont-init.d/80-discovery.sh
This commit is contained in:
parent
2101380b85
commit
95460c24f4
8
cookcli/rootfs/etc/cont-init.d/80-discovery.sh
Normal file
8
cookcli/rootfs/etc/cont-init.d/80-discovery.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
bashio::log.info "=== Annonce de la découverte CookCLI ==="
|
||||||
|
|
||||||
|
bashio::discovery.set "cookcli" \
|
||||||
|
'{"host": "'"$(bashio::addon.ip_address)"'", "port": 9081, "ssl": false}'
|
||||||
|
|
||||||
|
bashio::log.info "✅ Découverte annoncée sur le port 9081"
|
||||||
Loading…
Reference in a new issue