2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 03:27:27 +01:00
This commit is contained in:
kev
2016-10-31 11:28:34 +08:00
parent 71adb3e3eb
commit 5da3f7dd40
8 changed files with 51 additions and 6 deletions

15
hass/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
#
# Dockerfile for hass (Home Assistant)
#
FROM alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache python3 \
&& python3 -m pip install --no-cache-dir homeassistant
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]

2
hass/README.md Normal file
View File

@@ -0,0 +1,2 @@
home-assistant
==============

15
hass/arm/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
#
# Dockerfile for hass-arm (Home Assistant)
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache python3 \
&& python3 -m pip install --no-cache-dir homeassistant
VOLUME /etc/hass
EXPOSE 8123
ENTRYPOINT ["hass", "--config", "/etc/hass"]

View File

@@ -0,0 +1,7 @@
hass:
image: easypi/hass-arm
ports:
- "8123:8123"
volumes:
- ./data:/etc/hass
restart: unless-stopped

7
hass/docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
hass:
image: vimagick/hass
ports:
- "8123:8123"
volumes:
- ./data:/etc/hass
restart: unless-stopped