birdnet-pipy: use 0.5.0-2 version suffix

This commit is contained in:
Alexandre
2026-02-14 10:40:21 +01:00
parent ef2a5de9ab
commit bdd8221021
3 changed files with 9 additions and 1 deletions

View File

@@ -13,6 +13,11 @@ ingress_port="$(bashio::addon.ingress_port)"
ingress_interface="$(bashio::addon.ip_address)"
ingress_entry="$(bashio::addon.ingress_entry)"
if ! [[ "${ingress_port}" =~ ^[0-9]+$ ]] || [[ "${ingress_port}" -le 0 ]]; then
bashio::log.info "Ingress not active, skipping ingress nginx configuration"
exit 0
fi
sed -i \
-e "s|proxy_pass http://api|proxy_pass http://127.0.0.1|g" \
-e "s|proxy_pass http://icecast|proxy_pass http://127.0.0.1|g" \