mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 00:55:58 +02:00
This commit is contained in:
@@ -27,8 +27,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
||||||
S6_SERVICES_GRACETIME=0
|
S6_SERVICES_GRACETIME=0
|
||||||
|
|
||||||
SHELL ["/usr/bin/bash", "-c"]
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
##################
|
##################
|
||||||
@@ -40,16 +38,14 @@ COPY rootfs/ /
|
|||||||
ARG MODULES="00-banner.sh 01-custom_script.sh"
|
ARG MODULES="00-banner.sh 01-custom_script.sh"
|
||||||
|
|
||||||
# Automatic modules download
|
# Automatic modules download
|
||||||
#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
|
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 && \
|
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||||
chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
|
||||||
|
|
||||||
# Manual apps
|
# Manual apps
|
||||||
ENV PACKAGES="jq curl cifs-utils nginx"
|
ENV PACKAGES="jq curl cifs-utils nginx"
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
|
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
|
RUN chmod 777 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||||
|
|
||||||
################
|
################
|
||||||
|
|||||||
@@ -88,8 +88,8 @@
|
|||||||
"8086/tcp": null
|
"8086/tcp": null
|
||||||
},
|
},
|
||||||
"ports_description": {
|
"ports_description": {
|
||||||
"8080/tcp": "Web UI Port",
|
"8080/tcp": "Web UI port",
|
||||||
"8086/tcp": "InfluxDB Admin"
|
"8086/tcp": "InfluxDB admin"
|
||||||
},
|
},
|
||||||
"privileged": [
|
"privileged": [
|
||||||
"SYS_ADMIN",
|
"SYS_ADMIN",
|
||||||
|
|||||||
Reference in New Issue
Block a user