mirror of
https://github.com/hassio-addons/addon-thelounge.git
synced 2025-05-05 03:21:37 +00:00
⬆️ Upgrades add-on base image to 12.0.0
This commit is contained in:
parent
47c6b17731
commit
5df439f533
9 changed files with 23 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:11.1.2
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:12.0.0
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
build_from:
|
build_from:
|
||||||
aarch64: ghcr.io/hassio-addons/base/aarch64:11.1.2
|
aarch64: ghcr.io/hassio-addons/base/aarch64:12.0.0
|
||||||
amd64: ghcr.io/hassio-addons/base/amd64:11.1.2
|
amd64: ghcr.io/hassio-addons/base/amd64:12.0.0
|
||||||
armhf: ghcr.io/hassio-addons/base/armhf:11.1.2
|
armhf: ghcr.io/hassio-addons/base/armhf:12.0.0
|
||||||
armv7: ghcr.io/hassio-addons/base/armv7:11.1.2
|
armv7: ghcr.io/hassio-addons/base/armv7:12.0.0
|
||||||
i386: ghcr.io/hassio-addons/base/i386:11.1.2
|
i386: ghcr.io/hassio-addons/base/i386:12.0.0
|
||||||
codenotary:
|
codenotary:
|
||||||
base_image: codenotary@frenck.dev
|
base_image: codenotary@frenck.dev
|
||||||
signer: codenotary@frenck.dev
|
signer: codenotary@frenck.dev
|
||||||
|
|
|
@ -13,6 +13,7 @@ arch:
|
||||||
- i386
|
- i386
|
||||||
ingress: true
|
ingress: true
|
||||||
ingress_stream: true
|
ingress_stream: true
|
||||||
|
init: false
|
||||||
panel_icon: mdi:chat
|
panel_icon: mdi:chat
|
||||||
ports:
|
ports:
|
||||||
80/tcp: null
|
80/tcp: null
|
||||||
|
|
2
thelounge/rootfs/etc/cont-init.d/nginx.sh
Normal file → Executable file
2
thelounge/rootfs/etc/cont-init.d/nginx.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: The Lounge
|
# Home Assistant Community Add-on: The Lounge
|
||||||
# Configures NGINX for use with thelounge
|
# Configures NGINX for use with thelounge
|
||||||
|
|
2
thelounge/rootfs/etc/cont-init.d/thelounge.sh
Normal file → Executable file
2
thelounge/rootfs/etc/cont-init.d/thelounge.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: The Lounge
|
# Home Assistant Community Add-on: The Lounge
|
||||||
# This adds the default user and installs any requested themes
|
# This adds the default user and installs any requested themes
|
||||||
|
|
10
thelounge/rootfs/etc/services.d/nginx/finish
Normal file → Executable file
10
thelounge/rootfs/etc/services.d/nginx/finish
Normal file → Executable file
|
@ -1,9 +1,11 @@
|
||||||
#!/usr/bin/execlineb -S0
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: The Lounge
|
# Home Assistant Community Add-on: The Lounge
|
||||||
# Take down the S6 supervision tree when Nginx fails
|
# Take down the S6 supervision tree when Nginx fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
if -n { s6-test $# -ne 0 }
|
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
|
||||||
if -n { s6-test ${1} -eq 256 }
|
bashio::log.warning "NGINX crashed, halting add-on"
|
||||||
|
/run/s6/basedir/bin/halt
|
||||||
|
fi
|
||||||
|
|
||||||
s6-svscanctl -t /var/run/s6/services
|
bashio::log.info "NGINX stopped, restarting..."
|
||||||
|
|
2
thelounge/rootfs/etc/services.d/nginx/run
Normal file → Executable file
2
thelounge/rootfs/etc/services.d/nginx/run
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: The Lounge
|
# Home Assistant Community Add-on: The Lounge
|
||||||
# Runs the Nginx daemon
|
# Runs the Nginx daemon
|
||||||
|
|
10
thelounge/rootfs/etc/services.d/thelounge/finish
Normal file → Executable file
10
thelounge/rootfs/etc/services.d/thelounge/finish
Normal file → Executable file
|
@ -1,9 +1,11 @@
|
||||||
#!/usr/bin/execlineb -S0
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: The Lounge
|
# Home Assistant Community Add-on: The Lounge
|
||||||
# Take down the S6 supervision tree when the server fails
|
# Take down the S6 supervision tree when the server fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
if -n { s6-test $# -ne 0 }
|
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
|
||||||
if -n { s6-test ${1} -eq 256 }
|
bashio::log.warning "The Lounge crashed, halting add-on"
|
||||||
|
/run/s6/basedir/bin/halt
|
||||||
|
fi
|
||||||
|
|
||||||
s6-svscanctl -t /var/run/s6/services
|
bashio::log.info "The Lounge stopped, restarting..."
|
||||||
|
|
2
thelounge/rootfs/etc/services.d/thelounge/run
Normal file → Executable file
2
thelounge/rootfs/etc/services.d/thelounge/run
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Home Assistant Community Add-on: The Lounge
|
# Home Assistant Community Add-on: The Lounge
|
||||||
# Runs The Lounge server
|
# Runs The Lounge server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue