I want to install HA via docker-compose (already have some other containers running) on a Debian machine.
So I followed the official guide, took a video as help (Installing Docker and Home Assistant Container - YouTube) and so my docker-compose.yaml file looks like this:
homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - /opt/homeassistant/config:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped privileged: true network_mode: host
In Portainer I can see that it’s running, but I can’t assess the localhost:8123
This is how it looks in Portainer, and I’m curious because it’s the only container without IP/Ports but I don’t know what to do.
I already tried to add
ports: - 8123:8123to the .yaml, similar to my other containers, but then errors appeared while composing.