Lets install Home Assistant in our new made docker container with Portainer.

Getting started.

  1. If you your docker container following this Manual you are ready to begin.
  2. Make sure your Proxmox container is running and open Portainer on Https://your-ip:9443
  3. Open the stacks on the left and click add stack.
  1. Go in a new browser window to https://www.home-assistant.io/installation/alternative and look for Docker compose and copy the Yaml code and past it in the Web editor of your Portainer.
version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /PATH_TO_YOUR_CONFIG:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
change    "- /PATH_TO_YOUR_CONFIG:/config" TO "- /var/lib/docker/volumes/home-assistant:/config"
  1. Dont forget to give your stack a name “assistant” no capitals or spaces and press Deploy on the bottom. If you did everything wel you get a successfully deployed message.
  2. Open a new browser window and use Http://Your-Ip:8123

Thats it you are now ready to configure your Home assistant in Proxmox Lxc and docker container.

Don’t forget my coffee

If you have any questions or new idea’s just email me at the top of the page.

1301

Leave a Reply