教你怎麼使用Portainer快速安裝oznu/docker-homebridge。

教你怎麼使用Portainer快速安裝oznu-docker-homebridge
第三方非Apple官方認證設備想要串接Homekit都是用HomeBridge來串接家庭服務,很多人都是用很方便的oznu/docker-homebridge,但是此開源碼好像都沒有關於Portainer去安裝的資訊,只有樹莓派Raspberry Pi或是Synology NAS的一鍵執行指令,這邊教你怎麼用Portainer快速設定並使用oznu/docker-homebridge!







Portainer安裝oznu/docker-homebridge 教學


STEP1

瀏覽器前往Portainer網址192.168.x.xxx:9000

STEP2

選擇Containers ➜ 點選+ Add container
教你怎麼使用Portainer快速安裝oznu-docker-homebridge1

STEP3

將紅框內資料填入與開啟。
Name:隨意填入
Image:oznu/homebridge:raspberry-pi
Always pull the image:開啟
Publish all exposed…:開啟
教你怎麼使用Portainer快速安裝oznu-docker-homebridge2

STEP4

下方進階設定Tab-Network
Network:host
HostName:填入連線名稱
教你怎麼使用Portainer快速安裝oznu-docker-homebridge3

STEP5

下方advanced container settings分頁-Volumes
container:./config:/homebridge
教你怎麼使用Portainer快速安裝oznu-docker-homebridge4

STEP6

下面頁籤選項-Env
name:PGID、value:1000
name:PUID、value:1000
name:HOMEBRIDGE_CONFIG_UI、value:1
name:HOMEBRIDGE_CONFIG_UI_PORT、value:8080
教你怎麼使用Portainer快速安裝oznu-docker-homebridge5

STEP7

點擊Deploy the container部署到機器上。
教你怎麼使用Portainer快速安裝oznu-docker-homebridge6

STEP8

在網頁上輸入192.168.x.xxx:8080,就可以開始透過 Homebridge 使用 HomeKit。
教你怎麼使用Portainer快速安裝oznu-docker-homebridge7