mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
removed ingress
This commit is contained in:
@@ -47,8 +47,6 @@
|
||||
},
|
||||
"image": "ghcr.io/alexbelgium/sabnzbd-{arch}",
|
||||
"init": false,
|
||||
"init": false,
|
||||
"ingress": true,
|
||||
"ingress_entry": "sabnzbd",
|
||||
"map": [
|
||||
"config:rw",
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
# NGINX SETTING #
|
||||
#################
|
||||
|
||||
exit 0
|
||||
|
||||
ingress_port=$(bashio::addon.ingress_port)
|
||||
ingress_interface=$(bashio::addon.ip_address)
|
||||
sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Take down the S6 supervision tree when Nginx fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
# ==============================================================================
|
||||
|
||||
# Wait for transmission to become available
|
||||
bashio::net.wait_for 8080 localhost 900
|
||||
|
||||
bashio::log.info "Starting NGinx..."
|
||||
|
||||
exec nginx
|
||||
Reference in New Issue
Block a user