-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,20 +21,15 @@ services: | |
|
||
homebridge: | ||
restart: always | ||
expose: | ||
- "51826" | ||
- "8282" | ||
- "5353" | ||
ports: | ||
- "51826:51826" | ||
- "8282:8282" | ||
- "5353:5353" | ||
build: homebridge | ||
image: oznu/homebridge | ||
volumes: | ||
- ./homebridge/start.sh:/root/start.sh | ||
- ./homebridge/config.json:/root/.homebridge/config.json | ||
networks: | ||
- fhem-network | ||
- ./homebridge/config.json:/homebridge/config.json | ||
- ./homebridge/package.json:/homebridge/package.json | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
klein0r
Author
Owner
|
||
environment: | ||
- TZ=Europe/Berlin | ||
- PGID=1000 | ||
- PUID=1000 | ||
network_mode: host | ||
depends_on: | ||
- "fhem" | ||
|
||
|
@@ -82,7 +77,7 @@ services: | |
- "1880" | ||
ports: | ||
- "1880:1880" | ||
image: nodered/node-red-docker:0.17.5 | ||
image: nodered/node-red-docker:0.18.4 | ||
volumes: | ||
- ./nodered/data/:/data/ | ||
networks: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:jessie | ||
FROM debian:stretch | ||
|
||
MAINTAINER Matthias Kleine <[email protected]> | ||
|
||
|
@@ -32,6 +32,10 @@ libavahi-compat-libdnssd-dev \ | |
libcgi-pm-perl \ | ||
libclass-dbi-mysql-perl \ | ||
libclass-isa-perl \ | ||
libcrypt-cbc-perl \ | ||
libcrypt-ecb-perl \ | ||
libcrypt-urandom-perl \ | ||
libcgi-pm-perl \ | ||
libcommon-sense-perl \ | ||
libconvert-base32-perl \ | ||
libcrypt-urandom-perl \ | ||
|
@@ -40,6 +44,7 @@ libdatetime-format-strptime-perl \ | |
libdbd-sqlite3-perl \ | ||
libdbi-perl \ | ||
libdevice-serialport-perl \ | ||
libdigest-md5-perl \ | ||
libdpkg-perl \ | ||
liberror-perl \ | ||
libfile-copy-recursive-perl \ | ||
|
@@ -52,6 +57,8 @@ libio-socket-inet6-perl \ | |
libio-socket-ip-perl \ | ||
libio-socket-multicast-perl \ | ||
libio-socket-ssl-perl \ | ||
libimage-info-perl \ | ||
libimage-librsvg-perl \ | ||
libjson-perl \ | ||
libjson-xs-perl \ | ||
liblist-moreutils-perl \ | ||
|
@@ -72,6 +79,10 @@ libtimedate-perl \ | |
libwww-perl \ | ||
libxml-simple-perl | ||
|
||
RUN cpan Crypt::Rijndael_PP | ||
RUN cpan Net::MQTT::Simple | ||
RUN cpan Net::MQTT::Constants | ||
|
||
# Install fhem | ||
RUN echo Europe/Berlin > /etc/timezone && dpkg-reconfigure tzdata | ||
|
||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"dependencies": { | ||
"homebridge-fhem": "^0.4" | ||
} | ||
} |
This file was deleted.
Hallo Matthias,
kann es sein, dass die Variante mit nur diesen beiden gemounteten JSONs ein kleiner Nachteil werden könnte?
Ich habe mittlerweile das komplette homebridge-Verzeichnis auf dem Host und mounte dieses beim Start, da dann auch die Zuordnung an den iOS-Geräten erhalten bleibt. Die "persistenten" Dateien würde beim Löschen des Containers und des Volumes verschwinden. Bedeutet: Man muss die HomeKit-Geräte und die Bridge neu einrichten.