I am new and switching from running HA on Virtual Box to running in a Windows 11 docker desktop docker container. My docker HA install went well, but now docker HA doesn’t report finding automatically any devices like my VirtualBox version did last year. What is needed, so docker HA auto finds my existing items?
I did add a “discovery:” to config file it is still not auto discovering anything.
Here is my docker-compose.yml
version: "3.9"
services:
homeassistant:
container_name: ha
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
- 'C:\homeassistant:/config'
environment:
- TZ=America/Chicago # get your Time Zone from - https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# network_mode: host
ports:
- '8123:8123'
restart: always
# you can comment all the rows below if you don't need health check
healthcheck:
test: 'curl -m 90 -sLf http://localhost:8123 || date >> /config/healthcheck' #| pkill -9 python3'
interval: 90s
timeout: 60s
retries: 2
my configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml