Add Ingress support to Bazarr NAS addon

- Add ingress: true, ingress_entry, panel_icon, panel_admin to config.yaml
- Add connection_mode option (ingress_noauth/noingress_auth/ingress_auth)
- Add nginx package and 90-disable_ingress.sh module to Dockerfile
- Add nginx reverse proxy configuration (matching Sonarr/Radarr pattern)
- Add 32-nginx_ingress.sh init script for Bazarr YAML config handling
- Add nginx S6 service (run/finish) with base_url validation

Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/621436fb-7e38-4572-8231-55b067f62d83

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-18 12:53:47 +00:00
committed by GitHub
parent 69f1e74476
commit 5df9eb8588
13 changed files with 313 additions and 2 deletions

View File

@@ -47,14 +47,14 @@ RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; f
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
# Modules
ARG MODULES="00-banner.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh"
ARG MODULES="00-banner.sh 01-custom_script.sh 90-disable_ingress.sh 00-local_mounts.sh 00-smb_mounts.sh"
# Automatic modules download
COPY ha_automodules.sh /ha_automodules.sh
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
# Manual apps
ENV PACKAGES=""
ENV PACKAGES="nginx"
# Automatic apps & bashio
COPY ha_autoapps.sh /ha_autoapps.sh