Skip to content

Instantly share code, notes, and snippets.

@IcyMidnight
Created March 23, 2019 10:32
Show Gist options
  • Save IcyMidnight/fde36bfde838a83027308694d9214ca5 to your computer and use it in GitHub Desktop.
Save IcyMidnight/fde36bfde838a83027308694d9214ca5 to your computer and use it in GitHub Desktop.
Docker Compose for Home Assistant
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