Advertisement
Guest User

Home assistant docker compose(used in stack/portainer)

a guest
Jun 19th, 2019
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.40 KB | None | 0 0
  1. version: '2'
  2. services:
  3.   homeassistant:
  4.     image: homeassistant/home-assistant
  5.     container_name: homeassistant
  6.     ports:
  7.      - "8123:8123"
  8.     environment:
  9.      - TZ=Europe/Brussels
  10.     volumes:
  11.      - homeassistant-data:/config
  12.       - /etc/localtime:/etc/localtime:ro
  13.     devices:
  14.      - /dev/ttyACM1
  15.     network_mode: host
  16.     restart: always
  17. volumes:
  18.   homeassistant-data: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement