fix: make Langflow-synced flows visible (lfx volume perms, pull dedup)

This commit is contained in:
Jonas Miederer 2026-09-25 08:19:42 +02:00
parent 1326cece42
commit 95a1c1afb7
12 changed files with 5460 additions and 3859 deletions

9
lfx-entrypoint.sh Normal file
View 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 "$@"