mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-17 02:17:20 +02:00
Creates a new Home Assistant add-on that installs from zach7036's BirdNET-Pi-Enhanced-Version fork instead of the Nachtzuster/alexbelgium fork. Leaves the existing birdnet-pi addon untouched.
Key changes from birdnet-pi:
- Installer repointed to zach7036/BirdNET-Pi-Enhanced-Version/main/newinstaller.sh
- Removed alexbelgium repo rename sed (zach7036 fork already clones itself)
- Removed merge_open_prs PR-merging step (install stable main)
- Updated slug to birdnet-pi-zach, image to birdnet-pi-zach-{arch}
- Updated README/docs upstream description
- Unique apparmor profile name
The generic Dockerfile patches (strip sudo, remap my_dir, systemctl shims) apply unchanged to the new fork since it follows standard BirdNET-Pi layout.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
551 B
Bash
Executable File
27 lines
551 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck shell=bash
|
|
|
|
# Get values
|
|
set +u
|
|
# shellcheck disable=SC1091
|
|
source /etc/birdnet/birdnet.conf
|
|
|
|
# Create ingress configuration for Caddyfile
|
|
cat << EOF >> /etc/caddy/Caddyfile
|
|
:8082 {
|
|
root * ${EXTRACTED}
|
|
file_server browse
|
|
handle /By_Date/* {
|
|
file_server browse
|
|
}
|
|
handle /Charts/* {
|
|
file_server browse
|
|
}
|
|
reverse_proxy /stream localhost:8000
|
|
php_fastcgi unix//run/php/php-fpm.sock
|
|
reverse_proxy /log* localhost:8080
|
|
reverse_proxy /stats* localhost:8501
|
|
reverse_proxy /terminal* localhost:8888
|
|
}
|
|
EOF
|