Comments (9)
I execute this command instead.
taozhiyu@603e5f4a42f1 ~ % ifconfig | grep 'inet ' | grep -v 'inet6 ' | awk '{print $2}'
127.0.0.1
192.168.31.110
http://127.0.0.1:8502, http://192.168.31.110:8502
both can not be accessed.
from willow.
This is potentially an issue with docker not passing traffic out to the host. How are you running the container?
from willow.
This is potentially an issue with docker not passing traffic out to the host. How are you running the container?
1.install docker on my MAC laptop.
2.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
- ifconfig | grep 'inet ' | grep -v 'inet6 ' | awk '{print $2}'
192.168.31.110 is my LAN IP at home
from willow.
I think others have found that docker on Mac does not work with network=host, i think you have to use network=bridge
from willow.
I think others have found that docker on Mac does not work with network=host, i think you have to use network=bridge @nikito
network=bridge
TERMINAL LOG
taozhiyu@603e5f4a42f1 ~ % docker run --detach --name=willow-application-server --pull=always --network=bridge --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/toverainc/willow-application-server
latest: Pulling from toverainc/willow-application-server
Digest: sha256:06c0310585f2defa13e0f02922fa0075fbaf14bf5e63f1437596716c041e019e
Status: Image is up to date for ghcr.io/toverainc/willow-application-server:latest
cda8c2a48ec77e011d98d7aae0d70db913f05cefca8e744aada82806baffff62
taozhiyu@603e5f4a42f1 ~ % ifconfig | grep 'inet ' | grep -v 'inet6 ' | awk '{print $2}'
127.0.0.1
192.168.31.110
DOCKER LOG
2024-05-13 06:09:45 [2024-05-12T22:09:45] INFO: Started server process [9]
2024-05-13 06:09:45 [2024-05-12T22:09:45] INFO: Waiting for application startup.
2024-05-13 06:09:45 [2024-05-12T22:09:45] INFO: Application startup complete.
2024-05-13 06:09:45 [2024-05-12T22:09:45] INFO: Uvicorn running on http://0.0.0.0:8502 (Press CTRL+C to quit)
from willow.
network=host
TERMINAL LOG
taozhiyu@603e5f4a42f1 ~ % 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
latest: Pulling from toverainc/willow-application-server
Digest: sha256:06c0310585f2defa13e0f02922fa0075fbaf14bf5e63f1437596716c041e019e
Status: Image is up to date for ghcr.io/toverainc/willow-application-server:latest
4e7eef326ef825af52ebdf6d577c2b7dc77cef80c21ae1ad6638649246705aa8
taozhiyu@603e5f4a42f1 ~ % ifconfig | grep 'inet ' | grep -v 'inet6 ' | awk '{print $2}'
127.0.0.1
192.168.31.110
DOCKER LOG
2024-05-13 06:15:49 [2024-05-12T22:15:49] INFO: Started server process [9]
2024-05-13 06:15:49 [2024-05-12T22:15:49] INFO: Waiting for application startup.
2024-05-13 06:15:50 [2024-05-12T22:15:50] INFO: Application startup complete.
2024-05-13 06:15:50 [2024-05-12T22:15:50] INFO: Uvicorn running on http://0.0.0.0:8502 (Press CTRL+C to quit)
from willow.
both not work on my MAC
but other dockers work fine, for example oneapi, openwebui, dify
from willow.
I'm not sure what specific issue is occurring on mac, our Linux users use the original command you tried without issue. Maybe try running the docker the same way you run the others? Perhaps excluding the network argument may help?
Additionally that network mode won't change anything in the logs, it just affects how the container's network is exposed through docker. Regardless of the argument, the container itself always listens on 0.0.0.0, which means all interfaces. 🙂
Another thought, what ip do you use to talk to the other containers? That ip would ultimately be the same ip this would listen on, since that is the docker Host's ip.
from willow.
I'm not sure what specific issue is occurring on mac, our Linux users use the original command you tried without issue. Maybe try running the docker the same way you run the others? Perhaps excluding the network argument may help? Additionally that network mode won't change anything in the logs, it just affects how the container's network is exposed through docker. Regardless of the argument, the container itself always listens on 0.0.0.0, which means all interfaces. 🙂 Another thought, what ip do you use to talk to the other containers? That ip would ultimately be the same ip this would listen on, since that is the docker Host's ip.
oneapi, dify or other docker container, I use localhost:port. they all work fine
from willow.
Related Issues (20)
- How to send TTS reply sentence by sentence for longer text HOT 1
- Feature: Ability to configure custom integrations/APIs other than home assistant HOT 1
- Font size is too large for display, text cut off on ESP S3 Box 3 HOT 6
- Wake confirmation tone sometimes picked up as speech HOT 12
- Strange words when Willow is not undestanding the command. HOT 15
- When the "Wake Confirmation Tone" is used, it gets detected as "Ding!" HOT 6
- TTS response stopped working. HOT 3
- Increase the HTTP timeout HOT 10
- OpenAI APIs for TTS/STT? HOT 3
- Screen times out even with a request in flight HOT 10
- i2s is invalid on ESP32 Lite HOT 3
- Flashing Willow with esptool HOT 3
- Zluda - AMDs open source cuda implementation support? HOT 2
- Design question HOT 2
- Product Discontinued: ESP32-S3 Box HOT 4
- Feature Request: Support Esp32-s3 with Microphone and Speaker HOT 1
- Trailing slash in openHAB URL leads to error HOT 1
- Device Volume too low HOT 13
- Q: Home Assistant integration - location / sensors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from willow.