-
Notifications
You must be signed in to change notification settings - Fork 18.9k
fix: resolve Docker file URL networking issue for plugins (#21334) #21382
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
Conversation
- Add INTERNAL_FILES_URL config for Docker network communication - Plugin file access now uses internal Docker service URLs - User downloads continue using external FILES_URL - Fixes plugin daemon file access in Docker environments - Backward compatible with existing configurations
Yeuoly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess docker/*compose.yml need to be modified also.
- Add INTERNAL_FILES_URL to docker-compose.yaml environment variables - Add configuration example and documentation to docker/.env.example - Addresses reviewer feedback for Docker compose file updates
…#21334) (langgenius#21382) Co-authored-by: crazywoola <[email protected]> (cherry picked from commit d5624ba)
|
Hello, I'm encountering an issue. The output of the answer node is as follows: |
…#21334) (langgenius#21382) Co-authored-by: crazywoola <[email protected]>
…#21334) (langgenius#21382) Co-authored-by: crazywoola <[email protected]>
Fixes #21334
Problem
Using
STORAGE_TYPE=localandFILES_URL=http://localhostno longer works in Docker environments. Plugin daemon cannot access files uploaded by users.Solution
INTERNAL_FILES_URLconfig for Docker network communicationhttp://api:5001)http://localhost:5001)FILES_URLifINTERNAL_FILES_URLnot setConfiguration
Add to Docker environment:
Testing