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: re-add removed variable + fix documentation #5902

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

mollux
Copy link
Contributor

@mollux mollux commented Jan 23, 2025

There is currently a mismatch between the example docker-compose.yml file and the documentation about the 'config' dir:

  • the docs mention that the /var/lib/langflow is mapped, but the example compose files uses /app/langflow
  • the LANGFLOW_CONFIG_DIR is no longer specified (this was deleted in chore: simplify docker #2526, not clear why), so langflow defaults to /app/data/.cache (based on the homedir of the user.)

This could also result in data loss (database, secret key, ...) when the container is removed (e.g. when running docker compose down)

In general it's very strange that a cache dir is used to store vital data and information to keep an app running, but that's for another PR :)

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jan 23, 2025
@github-actions github-actions bot added bug Something isn't working and removed documentation Improvements or additions to documentation labels Jan 23, 2025
@mollux mollux force-pushed the fix/docker-documentation branch from acf04e0 to e6074b8 Compare January 23, 2025 20:50
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Jan 23, 2025
@mollux mollux force-pushed the fix/docker-documentation branch from e6074b8 to 4314d3b Compare January 25, 2025 12:57
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Jan 25, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 28, 2025
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Jan 28, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jan 29, 2025
@ogabrielluiz ogabrielluiz removed this pull request from the merge queue due to the queue being cleared Jan 29, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jan 29, 2025
Merged via the queue into langflow-ai:main with commit 50ae074 Jan 29, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants