mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
add hcfg
This commit is contained in:
parent
b9de8e7bbb
commit
cee8d8725f
@ -1,6 +1,15 @@
|
|||||||
hass:
|
hass:
|
||||||
image: easypi/hass-arm
|
image: easypi/hass-arm:debian
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/etc/hass
|
- ./data:/etc/hass:ro
|
||||||
net: host
|
net: host
|
||||||
|
privileged: yes
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
hcfg:
|
||||||
|
image: easypi/hcfg-arm
|
||||||
|
volumes:
|
||||||
|
- ./data:/etc/hass:rw
|
||||||
|
net: host
|
||||||
|
working_dir: /etc/hass
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
hass:
|
hass:
|
||||||
image: vimagick/hass
|
image: vimagick/hass
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/etc/hass
|
- ./data:/etc/hass:ro
|
||||||
net: host
|
net: host
|
||||||
|
privileged: yes
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
hcfg:
|
||||||
|
image: vimagick/hcfg
|
||||||
|
volumes:
|
||||||
|
- ./data:/etc/hass:rw
|
||||||
|
net: host
|
||||||
|
working_dir: /etc/hass
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
23
hcfg/Dockerfile
Normal file
23
hcfg/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for hcfg (Home Assistant Configurator)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
WORKDIR /opt/hcfg
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache curl git python3 \
|
||||||
|
&& pip3 install gitpython \
|
||||||
|
&& mkdir -p bin etc \
|
||||||
|
&& curl -sSL https://raw.githubusercontent.com/danielperna84/hass-configurator/master/configurator.py > bin/hcfg \
|
||||||
|
&& curl -sSL https://raw.githubusercontent.com/danielperna84/hass-configurator/master/settings.conf > etc/hcfg.conf \
|
||||||
|
&& sed -i '/^GIT/s/False/True/' /opt/hcfg/bin/hcfg \
|
||||||
|
&& chmod +x bin/hcfg
|
||||||
|
|
||||||
|
VOLUME /opt/hcfg
|
||||||
|
|
||||||
|
EXPOSE 3218
|
||||||
|
|
||||||
|
CMD ["/opt/hcfg/bin/hcfg", "/opt/hcfg/etc/hcfg.conf"]
|
4
hcfg/README.md
Normal file
4
hcfg/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
hcfg
|
||||||
|
====
|
||||||
|
|
||||||
|
See: https://home-assistant.io/docs/ecosystem/hass-configurator/
|
23
hcfg/arm/Dockerfile
Normal file
23
hcfg/arm/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for hcfg-arm (Home Assistant Configurator)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM easypi/alpine-arm
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
WORKDIR /opt/hcfg
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache curl git python3 \
|
||||||
|
&& pip3 install gitpython \
|
||||||
|
&& mkdir -p bin etc \
|
||||||
|
&& curl -sSL https://raw.githubusercontent.com/danielperna84/hass-configurator/master/configurator.py > bin/hcfg \
|
||||||
|
&& curl -sSL https://raw.githubusercontent.com/danielperna84/hass-configurator/master/settings.conf > etc/hcfg.conf \
|
||||||
|
&& sed -i '/^GIT/s/False/True/' /opt/hcfg/bin/hcfg \
|
||||||
|
&& chmod +x bin/hcfg
|
||||||
|
|
||||||
|
VOLUME /opt/hcfg
|
||||||
|
|
||||||
|
EXPOSE 3218
|
||||||
|
|
||||||
|
CMD ["/opt/hcfg/bin/hcfg", "/opt/hcfg/etc/hcfg.conf"]
|
Loading…
Reference in New Issue
Block a user