Created
January 17, 2021 08:31
-
-
Save nickmacavoy/d1f0dfc405bb13d8a36de97b7aa885ad to your computer and use it in GitHub Desktop.
Home Assistant + PAI + Homebridge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
homeassistant: | |
container_name: home-assistant | |
image: homeassistant/home-assistant:stable | |
volumes: | |
- ./config/:/config | |
environment: | |
- TZ=Pacific/Auckland | |
restart: always | |
network_mode: host | |
pai: | |
container_name: pai | |
restart: unless-stopped | |
image: paradoxalarminterface/pai:latest | |
volumes: | |
- "./pai/config:/etc/pai:ro" | |
- "./pai/log:/var/log/pai:rw" | |
- "/etc/timezone:/etc/timezone:ro" | |
- "/etc/localtime:/etc/localtime:ro" | |
user: "1000:1000" | |
ports: | |
- "10000:10000" | |
homebridge: | |
container_name: homebridge | |
image: oznu/homebridge:raspberry-pi | |
restart: always | |
network_mode: host | |
volumes: | |
- "./homebridge/config:/homebridge:rw" | |
environment: | |
- PGID=1000 | |
- PUID=1000 | |
- HOMEBRIDGE_CONFIG_UI=1 | |
- HOMEBRIDGE_CONFIG_UI_PORT=8081 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment