Files
hassio-addons/birdnet-pipy/config.yaml
Yudong Sun cae9984aaa birdnet-pipy: wait for upstream API before starting nginx
Replaces the 0.6.6-3 sleep+ingress-file-loop in services.d/nginx/run
with bashio::net.wait_for on 127.0.0.1:5002 (core.api). Under
s6-overlay all services.d/* services start concurrently, so nginx
could accept requests before the API had bound its port — proxy paths
(/api/, /socket.io/, /internal/auth) would 502, and that 502 could be
cached by an upstream service worker / edge cache (e.g. Cloudflare-
fronted HA), leaving the UI blank.

Matches the sister-addon pattern (bazarr, jellyfin, radarr). Also
switches to `exec nginx` for proper s6 supervision of the nginx PID.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 23:50:20 -04:00

100 lines
1.7 KiB
YAML

arch:
- aarch64
- amd64
audio: true
description: BirdNET-PiPy bird detection with a modern web dashboard
devices:
- /dev/dri
- /dev/dri/card0
- /dev/dri/card1
- /dev/dri/renderD128
- /dev/vchiq
- /dev/video10
- /dev/video11
- /dev/video12
- /dev/video13
- /dev/video14
- /dev/video15
- /dev/video16
- /dev/ttyUSB0
- /dev/sda
- /dev/sdb
- /dev/sdc
- /dev/sdd
- /dev/sde
- /dev/sdf
- /dev/sdg
- /dev/nvme
- /dev/nvme0
- /dev/nvme0n1
- /dev/nvme0n1p1
- /dev/nvme0n1p2
- /dev/mmcblk
- /dev/fuse
- /dev/sda1
- /dev/sdb1
- /dev/sdc1
- /dev/sdd1
- /dev/sde1
- /dev/sdf1
- /dev/sdg1
- /dev/sda2
- /dev/sdb2
- /dev/sdc2
- /dev/sdd2
- /dev/sde2
- /dev/sdf2
- /dev/sdg2
- /dev/sda3
- /dev/sdb3
- /dev/sda4
- /dev/sdb4
- /dev/sda5
- /dev/sda6
- /dev/sda7
- /dev/sda8
- /dev/nvme0
- /dev/nvme1
- /dev/nvme2
environment:
PGID: "0"
PUID: "0"
hassio_api: true
hassio_role: manager
homeassistant_api: true
image: ghcr.io/alexbelgium/birdnet-pipy-{arch}
ingress: true
ingress_stream: true
init: false
map:
- addon_config:rw
- ssl:rw
- share:rw
name: BirdNET-PiPy
options:
env_vars: []
ICECAST_PASSWORD: ''
data_location: /config/data
panel_icon: mdi:bird
ports:
80/tcp: 8011
ports_description:
80/tcp: Web UI
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
ICECAST_PASSWORD: str?
certfile: str?
cifsdomain: str?
cifspassword: str?
cifsusername: str?
data_location: str
keyfile: str?
localdisks: str?
networkdisks: str?
ssl: bool?
slug: birdnet-pipy
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pipy
version: "0.6.6-4"