mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user