Skip to content
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

Fix: Add init container for volume permission management in docker-compose.yml #7305

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cookieshake
Copy link

Description

I noticed that the current configuration was causing files to be stored at /app/app/langflow instead of the mounted volume path /app/langflow. This created a risk of data loss as files weren't being properly saved to the persistent volume.

Changes Made

  1. Modified the LANGFLOW_CONFIG_DIR environment variable to point to /app/langflow to ensure data is stored in the correct mounted volume location.
  2. Added a chown-volume configuration to address permission issues, as the langflow container runs with uid 1000 and was unable to write to the volume with the previous setup.

I'd appreciate your feedback on this approach. Please let me know if you have any concerns or suggestions for improvement.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant