mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-29 08:13:31 +02:00
* fix(komga): restore add-on reverted by a transient ghcr login failure The amd64 builder job failed at docker login (denied: denied) before any build step ran, which tripped revert-on-failure. Re-running the same commit unchanged succeeded and both arch images are published. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(komga): poll komga directly instead of bashio::net.wait_for, clarify config path Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
18 lines
551 B
Bash
Executable File
18 lines
551 B
Bash
Executable File
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
set -e
|
|
|
|
#################
|
|
# NGINX SETTING #
|
|
#################
|
|
declare ingress_interface
|
|
declare ingress_port
|
|
declare ingress_entry
|
|
|
|
ingress_port=$(bashio::addon.ingress_port)
|
|
ingress_interface=$(bashio::addon.ip_address)
|
|
ingress_entry=$(bashio::addon.ingress_entry)
|
|
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
|
|
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
|
|
sed -i "s|%%ingress_entry%%|${ingress_entry}|g" /etc/nginx/servers/ingress.conf
|