-
-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add searxng to docker compose #6509
base: main
Are you sure you want to change the base?
Conversation
Someone is attempting to deploy a commit to the LobeChat Desktop Team on Vercel. A member of the Team first needs to authorize it. |
👍 @Kac001 Thank you for raising your pull request and contributing to our Community |
根据你的修改我把docker-compose.yml进行了修改把searxng映射到6000端口上,运行compose发现我直接打不开6000的searxng
|
According to your modification, I modified docker-compose.yml and mapped searxng to port 6000. When I ran compose, I found that I couldn't open 6000 searxng directly
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6509 +/- ##
==========================================
- Coverage 91.62% 91.62% -0.01%
==========================================
Files 699 699
Lines 65173 65173
Branches 3163 2963 -200
==========================================
- Hits 59715 59714 -1
- Misses 5458 5459 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
如果searxng和lobechat在同一网络下的话,应该可以直接用容器名通讯。我的设置是,SEARXNG_URL=http://searxng:8080 , 可以链接 |
If searxng and lobechat are on the same network, you should be able to communicate directly with the container name. My settings are, SEARXNG_URL=http://searxng:8080, can be linked |
那是不是就不用在docker-compose.yml中映射出searxng端口直接启动searxng在 |
So, don't you need to map the serial port in docker-compose.yml to directly start serialxng to call container communication in |
I have some suggestions:
|
Block external access to port 8080
Already modified to prohibit access to searxng |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Add searxng to docker compose
📝 补充信息 | Additional Information