Question about custom components on docker compose

Hi
Currently i have docker compose working with HA but trying to add a custom components but i keep getting this error

homeassistant    | s6-rc: info: service s6rc-oneshot-runner: starting
homeassistant    | s6-rc: info: service s6rc-oneshot-runner successfully started
homeassistant    | s6-rc: info: service fix-attrs: starting
homeassistant    | s6-rc: info: service fix-attrs successfully started
homeassistant    | s6-rc: info: service legacy-cont-init: starting
homeassistant    | s6-rc: info: service legacy-cont-init successfully started
homeassistant    | s6-rc: info: service legacy-services: starting
homeassistant    | services-up: info: copying legacy longrun home-assistant (no readiness notification)
homeassistant    | s6-rc: info: service legacy-services successfully started
homeassistant    | 2022-08-26 00:25:08.954 ERROR (MainThread) [homeassistant.setup] Setup failed for remote_homeassistant: Integration not found.

this is my docker compose

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
    ports:
      - 8123:8123
    volumes:
      - /scsi2/ha:/config
      - /etc/localtime:/etc/localtime:ro
      - /scsi2/ha/custom_components:/config/custom_components
    restart: unless-stopped
    privileged: true
    network_mode: bridge

not sure what i did wrong as the routes seem to be correct

this is the configuration.yaml

# Loads default set of integrations. Do not remove.
default_config:

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

remote_homeassistant:
  instances:

and on my host which has the container

root@dockers3:/scsi2/ha# ls custom_components/remote_homeassistant/
LICENSE.md  README.md  custom_components  hacs.json  icons  img

Thank you

Your folder structure inside custom_components/remote_assistant is wrong all python files should exist there.

Expected structure screenshot:

1 Like

thank you so much, that did the trick