File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11config.json
2+ .DS_Store
Original file line number Diff line number Diff line change @@ -17,11 +17,6 @@ RUN wget --no-check-certificate -O - https://deb.nodesource.com/setup_6.x | bash
1717# install homebridge
1818RUN npm install -g --unsafe-perm homebridge hap-nodejs node-gyp
1919
20- # install homebridge plugins
21- RUN npm install -g homebridge-nest --unsafe-perm
22- RUN npm install -g https://github.com/rcreasey/homebridge-garage-sentry.git --unsafe-perm
23- RUN npm install -g homebridge-platform-ring-video-doorbell
24-
2520USER root
2621VOLUME ["/root/.homebridge" ]
2722RUN mkdir -p /var/run/dbus
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Homebridge
3+ Requires =docker.service
4+ After =docker.service
5+
6+ [Service]
7+ Restart =always
8+ ExecStartPre =-/usr/bin/docker stop %n
9+ ExecStartPre =-/usr/bin/docker rm %n
10+ ExecStart =/usr/bin/docker run -p 0.0.0.0:51826:51826 -v /opt/homebridge:/root/.homebridge --name %n --net =host rcreasey/rpi-homebridge
11+ ExecStop =/usr/bin/docker stop -t 2 %n
12+
13+ [Install]
14+ WantedBy =default.target
File renamed without changes.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ After=docker.service
77Restart =always
88ExecStartPre =-/usr/bin/docker stop %n
99ExecStartPre =-/usr/bin/docker rm %n
10- ExecStart =/usr/bin/docker run -p 0.0.0.0:51826:51826 -v /opt/homebridge:/root/.homebridge --name %n --net =host rcreasey/rpi-homebridge
10+ ExecStart =/usr/bin/docker run -p 0.0.0.0:51826:51826 -v /opt/homebridge:/root/.homebridge --name %n --net =host rcreasey/rpi-homebridge:latest
1111ExecStop =/usr/bin/docker stop -t 2 %n
1212
1313[Install]
Original file line number Diff line number Diff line change 1+ FROM rcreasey/rpi-homebridge:base
2+
3+ RUN npm install -g https://github.com/rcreasey/homebridge-garage-sentry.git --unsafe-perm
4+ RUN npm install -g homebridge-nest --unsafe-perm
5+ # RUN npm install -g homebridge-platform-ring-video-doorbell
You can’t perform that action at this time.
0 commit comments