Skip to content

Instantly share code, notes, and snippets.

@pettazz
Created November 15, 2020 18:54
Show Gist options
  • Select an option

  • Save pettazz/bbeac674c19819704f412a4561bb94ea to your computer and use it in GitHub Desktop.

Select an option

Save pettazz/bbeac674c19819704f412a4561bb94ea to your computer and use it in GitHub Desktop.

Revisions

  1. pettazz created this gist Nov 15, 2020.
    13 changes: 13 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    version: '2'
    services:
    homeassistant:
    container_name: home-assistant
    image: homeassistant/home-assistant:stable
    volumes:
    - /opt/home-assistant/config:/config
    devices:
    - /dev/ttyUSB1:/dev/ttyUSB1
    environment:
    - TZ=America/New_York
    restart: always
    network_mode: host