Homebridge on Raspberry Pi
- JOHA/▷ IT
- 2018. 11. 22. 14:09
https://github.com/oznu/docker-homebridge/wiki/Homebridge-on-Raspberry-Pi
# Add Docker’s official GPG key:
curl -fsSL https://download.docker.com/linux/raspbian/gpg | sudo apt-key add -
# Use the following command to set up the stable repository:
echo "deb [arch=armhf] https://download.docker.com/linux/raspbian stretch stable" | sudo tee /etc/apt/sources.list.d/docker.list
# Update sources and install docker
sudo apt-get update
sudo apt-get install docker-ce
sudo usermod -aG docker pi && logout
# Install Docker compose
sudo apt-get -y install python-setuptools && sudo easy_install pip && sudo pip install docker-compose
# Create Docker Compose Manifest
mkdir /home/pi/homebridge
cd /home/pi/homebridge
nano docker-compose.yml
version: '2'
services:
homebridge:
image: oznu/homebridge:raspberry-pi
restart: always
network_mode: host
volumes:
- ./config:/homebridge
environment:
- PGID=1000
- PUID=1000
- HOMEBRIDGE_CONFIG_UI=1
- HOMEBRIDGE_CONFIG_UI_PORT=8080
# Start Homebridge
docker-compose up -d
docker-compose logs -f
docker-compose restart homebridge
'JOHA > ▷ IT' 카테고리의 다른 글
홈브리지 등록 오류 해결 (0) | 2018.09.11 |
---|---|
Messages Beta now available for Mac OS X Lion (0) | 2012.02.16 |
Apple OS X Mountain Lion (10.8) in-depth preview (1) | 2012.02.16 |
Top 10 Cydia Sources (Repos) of 2011 (TOP 10 시디아 소스) (0) | 2012.02.11 |
OS X LION 7월 20일 출시!!! (0) | 2011.07.20 |
이 글을 공유하기