/ August 18, 2018/ Articles, Docker, Home Assistant/ 0 comments

With the following docker-comose code you can run Home Assistant in Docker with Docker-Compose:

homeassistant:
    container_name: HomeAssistant
    image: homeassistant/home-assistant:latest
    restart: always
    volumes:
      - /home/docker/homeassistant/config:/config
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    environment:
      - TZ=Europe/Amsterdam
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*