fix: make Langflow-synced flows visible (lfx volume perms, pull dedup)
This commit is contained in:
parent
1326cece42
commit
95a1c1afb7
12 changed files with 5460 additions and 3859 deletions
9
lfx-entrypoint.sh
Normal file
9
lfx-entrypoint.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
# LFX entrypoint (runs as root, drops privileges for the server).
|
||||
# The named volume arrives root-owned (Docker creates it as root and the
|
||||
# image USER cannot chown it) — without this every flow upload fails with
|
||||
# "Permission denied" and synced flows stay version-less (invisible in UI).
|
||||
set -e
|
||||
|
||||
chown -R lfx:lfx /flows
|
||||
exec gosu lfx "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue