mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
add hbdg
This commit is contained in:
parent
055bd7102e
commit
631f4959cd
@ -50,6 +50,8 @@ A collection of delicious docker recipes.
|
|||||||
- [x] docker-compose-arm
|
- [x] docker-compose-arm
|
||||||
- [x] hass
|
- [x] hass
|
||||||
- [x] hass-arm
|
- [x] hass-arm
|
||||||
|
- [x] hbdg
|
||||||
|
- [x] hbdg-arm
|
||||||
- [x] node-red :+1:
|
- [x] node-red :+1:
|
||||||
- [x] node-red-arm :+1:
|
- [x] node-red-arm :+1:
|
||||||
|
|
||||||
|
31
hbdg/Dockerfile
Normal file
31
hbdg/Dockerfile
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for hbdg (Home Bridge)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk update \
|
||||||
|
&& apk add avahi \
|
||||||
|
avahi-compat-libdns_sd \
|
||||||
|
avahi-dev \
|
||||||
|
build-base \
|
||||||
|
dbus \
|
||||||
|
nodejs \
|
||||||
|
python \
|
||||||
|
&& npm install -g homebridge \
|
||||||
|
homebridge-homeassistant \
|
||||||
|
&& apk del avahi-dev \
|
||||||
|
build-base \
|
||||||
|
python \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
VOLUME /root/.homebridge
|
||||||
|
|
||||||
|
CMD set -xe \
|
||||||
|
&& rm -f /var/run/dbus.pid \
|
||||||
|
&& dbus-daemon --system \
|
||||||
|
&& rm -f /var/run/avahi-daemon/pid \
|
||||||
|
&& avahi-daemon -D \
|
||||||
|
&& homebridge
|
10
hbdg/README.md
Normal file
10
hbdg/README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
hbdg
|
||||||
|
====
|
||||||
|
|
||||||
|
Homebridge plugin for Home Assistant.
|
||||||
|
|
||||||
|
Control your accessories from Home Assistant with Siri and HomeKit. Set it up
|
||||||
|
and poof, all of your supported accessories will be instantly controllable via
|
||||||
|
Siri.
|
||||||
|
|
||||||
|
[1]: https://github.com/home-assistant/homebridge-homeassistant
|
31
hbdg/arm/Dockerfile
Normal file
31
hbdg/arm/Dockerfile
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for hbdg-arm (Home Bridge)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM easypi/alpine-arm
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk update \
|
||||||
|
&& apk add avahi \
|
||||||
|
avahi-compat-libdns_sd \
|
||||||
|
avahi-dev \
|
||||||
|
build-base \
|
||||||
|
dbus \
|
||||||
|
nodejs \
|
||||||
|
python \
|
||||||
|
&& npm install -g homebridge \
|
||||||
|
homebridge-homeassistant \
|
||||||
|
&& apk del avahi-dev \
|
||||||
|
build-base \
|
||||||
|
python \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
VOLUME /root/.homebridge
|
||||||
|
|
||||||
|
CMD set -xe \
|
||||||
|
&& rm -f /var/run/dbus.pid \
|
||||||
|
&& dbus-daemon --system \
|
||||||
|
&& rm -f /var/run/avahi-daemon/pid \
|
||||||
|
&& avahi-daemon -D \
|
||||||
|
&& homebridge
|
31
hbdg/arm/data/config.json
Normal file
31
hbdg/arm/data/config.json
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"bridge": {
|
||||||
|
"name": "HomeBridge",
|
||||||
|
"username": "CC:22:3D:E3:CE:30",
|
||||||
|
"port": 51826,
|
||||||
|
"pin": "031-45-154"
|
||||||
|
},
|
||||||
|
"platforms": [
|
||||||
|
{
|
||||||
|
"platform": "HomeAssistant",
|
||||||
|
"name": "HomeAssistant",
|
||||||
|
"host": "http://127.0.0.1:8123",
|
||||||
|
"password": "yourapipassword",
|
||||||
|
"supported_types": [
|
||||||
|
"binary_sensor",
|
||||||
|
"climate",
|
||||||
|
"cover",
|
||||||
|
"device_tracker",
|
||||||
|
"fan",
|
||||||
|
"input_boolean",
|
||||||
|
"light",
|
||||||
|
"lock",
|
||||||
|
"media_player",
|
||||||
|
"scene",
|
||||||
|
"sensor",
|
||||||
|
"switch"
|
||||||
|
],
|
||||||
|
"logging": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
7
hbdg/arm/docker-compose.yml
Normal file
7
hbdg/arm/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
hbdg:
|
||||||
|
image: easypi/hbdg-arm
|
||||||
|
volumes:
|
||||||
|
- ./data:/root/.homebridge
|
||||||
|
net: host
|
||||||
|
privileged: yes
|
||||||
|
restart: always
|
31
hbdg/data/config.json
Normal file
31
hbdg/data/config.json
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"bridge": {
|
||||||
|
"name": "HomeBridge",
|
||||||
|
"username": "CC:22:3D:E3:CE:30",
|
||||||
|
"port": 51826,
|
||||||
|
"pin": "031-45-154"
|
||||||
|
},
|
||||||
|
"platforms": [
|
||||||
|
{
|
||||||
|
"platform": "HomeAssistant",
|
||||||
|
"name": "HomeAssistant",
|
||||||
|
"host": "http://127.0.0.1:8123",
|
||||||
|
"password": "yourapipassword",
|
||||||
|
"supported_types": [
|
||||||
|
"binary_sensor",
|
||||||
|
"climate",
|
||||||
|
"cover",
|
||||||
|
"device_tracker",
|
||||||
|
"fan",
|
||||||
|
"input_boolean",
|
||||||
|
"light",
|
||||||
|
"lock",
|
||||||
|
"media_player",
|
||||||
|
"scene",
|
||||||
|
"sensor",
|
||||||
|
"switch"
|
||||||
|
],
|
||||||
|
"logging": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
7
hbdg/docker-compose.yml
Normal file
7
hbdg/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
hbdg:
|
||||||
|
image: vimagick/hbdg
|
||||||
|
volumes:
|
||||||
|
- ./data:/root/.homebridge
|
||||||
|
net: host
|
||||||
|
privileged: yes
|
||||||
|
restart: always
|
Loading…
Reference in New Issue
Block a user