I have HA installed as a docker on CasaOS. Now I want to use Piper and Whisper.
I installed both docker images on the same host machine as my HA docker image. Used the host IP host and the default port number for Piper and Wishper, but I can’t connect to them.
When setting up docker containers always give the container a hostname
When connecting two docker containers always
Make sure the are both using a common docker network
Connect them using hostname:port
In the case of two docker containers being connected it is not necessary to expose ports. Exposed ports are used for connection from outside the host server. Inside the docker network the container ports are all exposed
If you use portainer you may often gain command line access within a container. This will allow you to ping another container and verify the see each other.
Wyoming just kinda worked so I can only presume maybe it’s something with container build. Assuming HA can see container:port and no networking issue exist just remembered I couldn’t get whisper to run and only the Linux.io image worked. Meant to change that but I’m still testing and hadn’t got to it yet
Portainer shows live logs for individual containers
Below is what I used. I did expose port but used “dockerlocal” network to connect. Dockerlocal is network I manually created and HA was added to same network