Cannot access Web UI - Docker-Compose

What is the host os you are using?

What is the output of “sudo lsof -i:8123”? Run that with and without the home assistant container running. See if there is a conflict with something else on that port

I see it’s been a coupl of months since the last post, but this is the docker-compose.yaml file that works for me.

version: "3.7"
services:
  home-assistant:
    image: ghcr.io/home-assistant/home-assistant:latest
    volumes:
      - /Users/tony/docker/home-assistant:/config
    restart: unless-stopped
    privileged: true
    # network_mode: host
    ports:
      - 8123:8123
    environment:
        - TZ=America/Los_Angeles

Container is responding on http://localhost:8123