Created
March 23, 2019 10:32
-
-
Save IcyMidnight/fde36bfde838a83027308694d9214ca5 to your computer and use it in GitHub Desktop.
Docker Compose for Home Assistant
This file contains hidden or 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: | |
home-assistant: | |
container_name: home-assistant | |
image: homeassistant/intel-nuc-homeassistant:0.90.1 | |
environment: | |
- TZ=America/Los_Angeles | |
network_mode: host | |
volumes: | |
- ./home-assistant/config:/config | |
- /etc/localtime:/etc/localtime:ro | |
- /etc/timezone:/etc/timezone:ro | |
devices: | |
- /dev/zwave:/dev/zwave | |
- /dev/zigbee:/dev/zigbee | |
restart: unless-stopped | |
healthcheck: | |
test: ["CMD", "curl", "-sI", "http://127.0.0.1:8123"] | |
interval: 60s | |
timeout: 5s | |
retries: 10 | |
depends_on: | |
#- influxdb | |
- mosquitto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment