Total noob to Home Assistant (HA). My current configuration includes Ubuntu/Docker/Docker-compose/Portainer/Home Assistant (2025.1.4; Front End 20250109.2). Hardware not yet fully configured (zigbee controller on order).
I’ve been following (ca. 2022) installation instructions. Mostly, still pretty good. I’m currently ‘snagged’ at ‘accessing Portainer within HA’. I added the following code to my configuration.yaml,
Wow. Thanks Kdem. That seems to have worked perfectly (using http://…). Hopefully as I move into week 2 of exposure to HA, things like this will gradually become second nature.
Many users have had problems with portainer with HA. Both Portainer and HA tend to want to do full control on the docker, and small battles tend to happen. Portainer is
I’m also using the Docker configuration and met the same problem. Luckily this solution worked for me too but when I try to login in Portrait I receive the error: Failure Unable to retrieve user details: Unauthorized
Any idea of what the problem is?
Initially I logged in the first time outside homeassistant, then attached the dashboard.
I did the other way round and it worked!
Solution is: first attach Portainer to a new web page dashboard and then login the first time as admin