Prerequisites
- AnythingLLM v1.12.0+ (Desktop)
Security & Access Control
- Default state: Disabled / No folder access.
- Access model: Granular, folder-level read/write permissions.
- Docker restriction: Agent cannot access paths outside
/app/server/storage/anythingllm-fs/.
Docker Configuration
Bind host directories as subfolders inside the container’s /app/server/storage/anythingllm-fs/ path.
mkdir -p $STORAGE_LOCATION && \
touch "$STORAGE_LOCATION/.env" && \
docker run -d -p 3001:3001 \
--cap-add SYS_ADMIN \
-v ${STORAGE_LOCATION}:/app/server/storage \
-v ${STORAGE_LOCATION}/.env:/app/server/.env \
-v /home/ubuntu/Documents:/app/server/storage/anythingllm-fs/docs \
-v /home/ubuntu/Downloads:/app/server/storage/anythingllm-fs/downloads \
-v /home/ubuntu/special-folder/subfolder:/app/server/storage/anythingllm-fs/special-folder \
-v /home/ubuntu/readonly-folder:/app/server/storage/anythingllm-fs/readonly:ro \
-e STORAGE_DIR="/app/server/storage" \
mintplexlabs/anythingllmNote: Use the :ro suffix to enforce read-only access at the OS level.
Desktop Configuration
- Open the Configuration menu.
- Navigate to the Skills config panel.
- Locate the Permissions section.
- Add specific host folders to grant the agent recursive read/write access.