fix: bind Qdrant to 127.0.0.1 to reduce port conflict#12
Merged
Conversation
superdd-coder
force-pushed
the
fix/docker-port-conflict
branch
from
July 9, 2026 16:34
be2281d to
b1891aa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
用户执行
docker compose up -d时遇到:Qdrant 端口绑定到
0.0.0.0(所有网络接口),容易被宿主机其他服务占用。修复
docker-compose.yml: Qdrant 端口改为绑定127.0.0.1而非0.0.0.0qdrant:6333访问 Qdrant,不受影响.env.template: 添加端口冲突时的排障提示如果
127.0.0.1:6343仍然被占用,在.env中修改QDRANT_HTTP_PORT即可。