fix: add FILES_STORAGE_PATH to Dockerfile ENV to prevent data loss

User-uploaded files were stored in /app/data/files (container writable layer)
instead of /data/files (persistent volume) because the env var was not set in
the Dockerfile. Files were lost on container recreation.
This commit is contained in:
Siddharth Kumar Sah
2026-04-10 00:17:42 +08:00
parent 7bc979f677
commit b575243e9a
+1
View File
@@ -181,6 +181,7 @@ ENV PORT=1349 \
STORAGE_MODE=local \
DB_PATH=/data/stirling.db \
WORKSPACE_PATH=/tmp/workspace \
FILES_STORAGE_PATH=/data/files \
PYTHON_VENV_PATH=/opt/venv \
DEFAULT_THEME=light \
DEFAULT_LOCALE=en \