[PR #13140] Update .env.example to fix MILVUS_URI default value #27849

Closed
opened 2026-02-21 20:42:19 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/13140

State: closed
Merged: Yes


Summary

The MILVUS_URI with localhost is not reachable from another docker container. Changed to the special DNS name host.docker.internal to fix the problem.

See detailed issue report in
https://discord.com/channels/1160323594396635310/1335159004598370376/1335281419240607884

Screenshots

Before After
before after

Checklist

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: https://github.com/langgenius/dify-docs/pull/472
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/13140 **State:** closed **Merged:** Yes --- # Summary The MILVUS_URI with localhost is not reachable from another docker container. Changed to the special DNS name `host.docker.internal` to fix the problem. See detailed issue report in https://discord.com/channels/1160323594396635310/1335159004598370376/1335281419240607884 # Screenshots | Before | After | |--------|-------| | ![before](https://media.discordapp.net/attachments/1335159004598370376/1335281419349397604/Screenshot_2025-02-01_at_23.51.05.png?ex=679f993a&is=679e47ba&hm=080bbe3f5a3fab8c9cc900d33e4feb29f93f042fad9a97c298f75ae08d2a30c2&=&format=webp&quality=lossless&width=1482&height=1034) | ![after](https://media.discordapp.net/attachments/1335159004598370376/1335281419588599919/Screenshot_2025-02-02_at_00.06.43.png?ex=679f993a&is=679e47ba&hm=1e56f4814eb74aa01c052b1f34c7659ed2fa44c71c0eb7467a8dc23f24b7f429&=&format=webp&quality=lossless&width=1432&height=856) | # Checklist > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [x] This change requires a documentation update, included: https://github.com/langgenius/dify-docs/pull/472 - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:42:19 -05:00
yindo closed this issue 2026-02-21 20:42:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#27849