Replies: 5 comments 6 replies
-
The quick start guide here explains how to find the address: https://heywillow.io/quick-start-guide/ |
Beta Was this translation helpful? Give feedback.
-
Also to add, you don't see ports assigned because it is in host mode so there is no need for explicit mapping. Additionally when it shows 0.0.0.0:8502 that means the container is listening on port 8502 for all addresses/interfaces exposed to the container. 🙂 |
Beta Was this translation helpful? Give feedback.
-
The Docker display you show looks like it is From Docker Desktop for Windows. If that is the case, Docker is most likely running under WSL2. So you have to do some extra steps to map the WSL2 Docker ports to the host computer ports. I am running on a Windows 10 machine and I assume it is the same on a Windows 11 machine. I actually run a script that I found on the internet in a Windows PowerShell run with administrator rights to map the ports for WIS and WAS. I did a quick search for a link to the web page where I found the approach I used, but could not find it. There are many web pages that have information about mapping WSL2 docker ports to the host. |
Beta Was this translation helpful? Give feedback.
-
I followed this post from the homeassistant forum: Inside WSL2: ip route get 1.1.1.1 | grep -oP 'src \K\S+' In a Powershell with Admin rights: netsh interface portproxy add v4tov4 listenport=8502 listenaddress=0.0.0.0 connectport=8502 connectaddress=<IP_FROM_PREVIOUS_STEP> Then open the port in the windows firewall. |
Beta Was this translation helpful? Give feedback.
-
I had exactly the same issue. Problem is --network=host is not supported by Docker on macOS. My solution was changing the network mode to bridge and publishing port 8502: Then access to WAS was possible at <ip of macOS host>:8502 Maybe this works as well in Windows, cannot test though. |
Beta Was this translation helpful? Give feedback.
-
just looked at willow again for the first time in a few months.
Figured I would update to the new stuff and so started with WAS, figuring that was the right move...
Edit to add: I only have access to Macs, I tried on two different M1 devices, if that matters.
Per the docs - I run: docker run --detach --name=willow-application-server --pull=always --network=host --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/toverainc/willow-application-server
This starts up no problem, but no network address gets assigned. In the logs I see:
023-10-14 07:20:33 [2023-10-14T14:20:33] INFO: Uvicorn running on http://0.0.0.0:8502 (Press CTRL+C to quit)
and you can see here on the interface in docker that it's not exposing.
I presume I'm missing some small obvious step, but I can't seem to figure out what it is.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions