Alexandre
2024-03-16 08:49:20 +01:00
parent 6a1590d5f9
commit 8125c15ae5
2 changed files with 4 additions and 8 deletions

View File

@@ -27,8 +27,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0
SHELL ["/usr/bin/bash", "-c"]
##################
# 3 Install apps #
##################
@@ -40,16 +38,14 @@ COPY rootfs/ /
ARG MODULES="00-banner.sh 01-custom_script.sh"
# Automatic modules download
#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
RUN curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" -o /ha_automodules.sh && \
chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
# Manual apps
ENV PACKAGES="jq curl cifs-utils nginx"
# Automatic apps & bashio
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
#RUN curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" -o /ha_autoapps.sh
RUN chmod 777 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
################

View File

@@ -88,8 +88,8 @@
"8086/tcp": null
},
"ports_description": {
"8080/tcp": "Web UI Port",
"8086/tcp": "InfluxDB Admin"
"8080/tcp": "Web UI port",
"8086/tcp": "InfluxDB admin"
},
"privileged": [
"SYS_ADMIN",